Spaces:
Paused
Paused
seawolf2357
commited on
Commit
•
f028eb9
1
Parent(s):
f2540d6
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,10 @@ def generate_video(prompt, negative_prompt, num_inference_steps, conditioning_fr
|
|
28 |
]
|
29 |
conditioning_frames = [load_image(img_file) for img_file in image_files]
|
30 |
|
|
|
|
|
|
|
|
|
31 |
video = pipe(
|
32 |
prompt=prompt,
|
33 |
negative_prompt=negative_prompt,
|
@@ -90,5 +94,6 @@ demo2 = gr.Interface(
|
|
90 |
demo = gr.TabbedInterface([demo1, demo2], ["Advanced Video Generation", "Simple Video Generation"])
|
91 |
|
92 |
|
|
|
93 |
demo.launch()
|
94 |
#demo.launch(server_name="0.0.0.0", server_port=7910)
|
|
|
28 |
]
|
29 |
conditioning_frames = [load_image(img_file) for img_file in image_files]
|
30 |
|
31 |
+
# Ensure conditioning_frame_indices is a list of integers
|
32 |
+
conditioning_frame_indices = eval(conditioning_frame_indices)
|
33 |
+
controlnet_conditioning_scale = float(controlnet_conditioning_scale)
|
34 |
+
|
35 |
video = pipe(
|
36 |
prompt=prompt,
|
37 |
negative_prompt=negative_prompt,
|
|
|
94 |
demo = gr.TabbedInterface([demo1, demo2], ["Advanced Video Generation", "Simple Video Generation"])
|
95 |
|
96 |
|
97 |
+
|
98 |
demo.launch()
|
99 |
#demo.launch(server_name="0.0.0.0", server_port=7910)
|