Spaces:
Running
on
Zero
Running
on
Zero
modified the output filepath
Browse files- app.py +2 -2
- styles/n-styles.csv +2 -0
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)
|
@@ -304,7 +304,7 @@ def generate_video(positive_prompt, num_frames, input_image):
|
|
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 |
|
|
|
177 |
# model_management.load_models_gpu(valid_models)
|
178 |
|
179 |
#Run ComfyUI Workflow
|
180 |
+
@spaces.GPU(duration=800)
|
181 |
def generate_video(positive_prompt, num_frames, input_image):
|
182 |
|
183 |
print("Positive Prompt:", positive_prompt)
|
|
|
304 |
unique_id=7214086815220268849,
|
305 |
)
|
306 |
print(vhs_videocombine_154)
|
307 |
+
saved_path = f"output/{vhs_videocombine_154['ui']['gifs']['filename']}"
|
308 |
return saved_path
|
309 |
|
310 |
|
styles/n-styles.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
name,prompt,negative_prompt
|
2 |
+
NAI,"masterpiece, best quality, masterpiece, asuka langley sitting cross legged on a chair","lowres, bad anatomy, bad hands"
|