Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5
|
|
| 89 |
print(f"Time Elapsed: {td(seconds=int(time.time() - start_load))}")
|
| 90 |
return image, seed, gr.Button(visible=True)
|
| 91 |
|
| 92 |
-
@spaces.GPU(duration=
|
| 93 |
def infer_example(input_image, prompt):
|
| 94 |
start_load = time.time()
|
| 95 |
image, seed, _ = infer(input_image, prompt)
|
|
|
|
| 89 |
print(f"Time Elapsed: {td(seconds=int(time.time() - start_load))}")
|
| 90 |
return image, seed, gr.Button(visible=True)
|
| 91 |
|
| 92 |
+
@spaces.GPU(duration=26)
|
| 93 |
def infer_example(input_image, prompt):
|
| 94 |
start_load = time.time()
|
| 95 |
image, seed, _ = infer(input_image, prompt)
|