Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def update_dimensions_from_image(image_list):
|
|
| 53 |
|
| 54 |
return new_width, new_height
|
| 55 |
|
| 56 |
-
@spaces.GPU(duration=
|
| 57 |
def infer(prompt, input_images=None, seed=42, randomize_seed=False, width=1024, height=1024, num_inference_steps=50, guidance_scale=2.5, progress=gr.Progress(track_tqdm=True)):
|
| 58 |
|
| 59 |
if randomize_seed:
|
|
|
|
| 53 |
|
| 54 |
return new_width, new_height
|
| 55 |
|
| 56 |
+
@spaces.GPU(duration=60) # Increased duration since we're doing text encoding + generation
|
| 57 |
def infer(prompt, input_images=None, seed=42, randomize_seed=False, width=1024, height=1024, num_inference_steps=50, guidance_scale=2.5, progress=gr.Progress(track_tqdm=True)):
|
| 58 |
|
| 59 |
if randomize_seed:
|