Spaces:
Runtime error
Runtime error
From GIF to MP4
Browse files- app_pose.py +1 -1
- model.py +1 -1
app_pose.py
CHANGED
|
@@ -27,7 +27,7 @@ def create_demo(model: Model):
|
|
| 27 |
prompt = gr.Textbox(label='Prompt')
|
| 28 |
run_button = gr.Button(label='Run')
|
| 29 |
with gr.Column():
|
| 30 |
-
result = gr.
|
| 31 |
|
| 32 |
input_video_path.change(on_video_path_update, None, pose_sequence_selector)
|
| 33 |
gallery_pose_sequence.select(pose_gallery_callback, None, input_video_path)
|
|
|
|
| 27 |
prompt = gr.Textbox(label='Prompt')
|
| 28 |
run_button = gr.Button(label='Run')
|
| 29 |
with gr.Column():
|
| 30 |
+
result = gr.Video(label="Generated Video")
|
| 31 |
|
| 32 |
input_video_path.change(on_video_path_update, None, pose_sequence_selector)
|
| 33 |
gallery_pose_sequence.select(pose_gallery_callback, None, input_video_path)
|
model.py
CHANGED
|
@@ -186,7 +186,7 @@ class Model:
|
|
| 186 |
split_to_chunks=True,
|
| 187 |
chunk_size=8,
|
| 188 |
)
|
| 189 |
-
return utils.
|
| 190 |
|
| 191 |
def process_controlnet_canny_db(self,
|
| 192 |
db_path,
|
|
|
|
| 186 |
split_to_chunks=True,
|
| 187 |
chunk_size=8,
|
| 188 |
)
|
| 189 |
+
return utils.create_video(result, fps)
|
| 190 |
|
| 191 |
def process_controlnet_canny_db(self,
|
| 192 |
db_path,
|