Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,7 +105,7 @@ def calculate_dimensions(image, mod_value):
|
|
| 105 |
return calculated_width, calculated_height
|
| 106 |
|
| 107 |
|
| 108 |
-
@spaces.GPU
|
| 109 |
def run_inference(
|
| 110 |
image_path: str,
|
| 111 |
prompt: str,
|
|
|
|
| 105 |
return calculated_width, calculated_height
|
| 106 |
|
| 107 |
|
| 108 |
+
@spaces.GPU(duration=120)
|
| 109 |
def run_inference(
|
| 110 |
image_path: str,
|
| 111 |
prompt: str,
|