Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,7 +160,8 @@ def get_inference_duration(
|
|
| 160 |
return 5 + int(steps) * step_duration
|
| 161 |
|
| 162 |
|
| 163 |
-
|
|
|
|
| 164 |
def run_inference(
|
| 165 |
resized_image,
|
| 166 |
processed_last_image,
|
|
|
|
| 160 |
return 5 + int(steps) * step_duration
|
| 161 |
|
| 162 |
|
| 163 |
+
#@spaces.GPU(duration=get_inference_duration)
|
| 164 |
+
@spaces.GPU()
|
| 165 |
def run_inference(
|
| 166 |
resized_image,
|
| 167 |
processed_last_image,
|