Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -177,7 +177,7 @@ from nodes import NODE_CLASS_MAPPINGS
|
|
177 |
# model_management.load_models_gpu(valid_models)
|
178 |
|
179 |
#Run ComfyUI Workflow
|
180 |
-
@spaces.GPU(duration=
|
181 |
def generate_video(positive_prompt, num_frames, input_image):
|
182 |
|
183 |
print("Positive Prompt:", positive_prompt)
|
@@ -303,7 +303,8 @@ def generate_video(positive_prompt, num_frames, input_image):
|
|
303 |
images=get_value_at_index(cr_upscale_image_151, 0),
|
304 |
unique_id=7214086815220268849,
|
305 |
)
|
306 |
-
|
|
|
307 |
return saved_path
|
308 |
|
309 |
|
|
|
177 |
# model_management.load_models_gpu(valid_models)
|
178 |
|
179 |
#Run ComfyUI Workflow
|
180 |
+
@spaces.GPU(duration=1500)
|
181 |
def generate_video(positive_prompt, num_frames, input_image):
|
182 |
|
183 |
print("Positive Prompt:", positive_prompt)
|
|
|
303 |
images=get_value_at_index(cr_upscale_image_151, 0),
|
304 |
unique_id=7214086815220268849,
|
305 |
)
|
306 |
+
print(vhs_videocombine_154)
|
307 |
+
saved_path = f"output/{vhs_videocombine_154['ui']}"
|
308 |
return saved_path
|
309 |
|
310 |
|