Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -284,7 +284,7 @@ def worker(input_image, prompt, n_prompt, seed, total_second_length, latent_wind
|
|
| 284 |
stream.output_queue.push(('end', None))
|
| 285 |
return
|
| 286 |
|
| 287 |
-
@spaces.GPU
|
| 288 |
def process(input_image, prompt, n_prompt, seed, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, mp4_crf):
|
| 289 |
global stream
|
| 290 |
assert input_image is not None, 'No input image!'
|
|
|
|
| 284 |
stream.output_queue.push(('end', None))
|
| 285 |
return
|
| 286 |
|
| 287 |
+
@spaces.GPU(duration=30)
|
| 288 |
def process(input_image, prompt, n_prompt, seed, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, mp4_crf):
|
| 289 |
global stream
|
| 290 |
assert input_image is not None, 'No input image!'
|