Spaces:
Running
on
Zero
Running
on
Zero
YuxueYang
commited on
Commit
·
a61ba8d
1
Parent(s):
f01a554
Set GPU duration to 120 seconds for the run function
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ def upload_image(image):
|
|
| 102 |
image = TRANSFORMS(image)
|
| 103 |
return image
|
| 104 |
|
| 105 |
-
@spaces.GPU
|
| 106 |
def run(input_image, input_image_end, pretrained_model_path, seed,
|
| 107 |
prompt, n_prompt, num_inference_steps, guidance_scale,
|
| 108 |
*layer_args):
|
|
|
|
| 102 |
image = TRANSFORMS(image)
|
| 103 |
return image
|
| 104 |
|
| 105 |
+
@spaces.GPU(duration=120)
|
| 106 |
def run(input_image, input_image_end, pretrained_model_path, seed,
|
| 107 |
prompt, n_prompt, num_inference_steps, guidance_scale,
|
| 108 |
*layer_args):
|