Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ def generate_examples(input_image, prompt):
|
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
-
@
|
| 144 |
def worker(input_image, prompt, n_prompt, seed, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, mp4_crf):
|
| 145 |
total_latent_sections = (total_second_length * 30) / (latent_window_size * 4)
|
| 146 |
total_latent_sections = int(max(round(total_latent_sections), 1))
|
|
|
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
+
@spaces.GPU()
|
| 144 |
def worker(input_image, prompt, n_prompt, seed, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, mp4_crf):
|
| 145 |
total_latent_sections = (total_second_length * 30) / (latent_window_size * 4)
|
| 146 |
total_latent_sections = int(max(round(total_latent_sections), 1))
|