multimodalart HF Staff commited on
Commit
e3bed10
·
verified ·
1 Parent(s): 74054e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def update_dimensions_from_image(image_list):
141
  return new_width, new_height
142
 
143
 
144
- @spaces.GPU
145
  def infer(prompt, input_images=None, seed=42, randomize_seed=False, width=1024, height=1024, num_inference_steps=50, guidance_scale=4.0, prompt_upsampling=False, progress=gr.Progress(track_tqdm=True)):
146
 
147
  if randomize_seed:
 
141
  return new_width, new_height
142
 
143
 
144
+ @spaces.GPU(duration=85)
145
  def infer(prompt, input_images=None, seed=42, randomize_seed=False, width=1024, height=1024, num_inference_steps=50, guidance_scale=4.0, prompt_upsampling=False, progress=gr.Progress(track_tqdm=True)):
146
 
147
  if randomize_seed: