Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,7 @@ output_image_paste_back = gr.Image(type="numpy")
|
|
| 186 |
output_video = gr.Video()
|
| 187 |
output_video_concat = gr.Video()
|
| 188 |
|
| 189 |
-
video_input = gr.Video()
|
| 190 |
driving_video_path=gr.Video()
|
| 191 |
|
| 192 |
|
|
@@ -215,9 +215,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 215 |
with gr.Row():
|
| 216 |
#audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
| 217 |
video_gen_button = gr.Button("Audio to Video generation", variant="primary")
|
| 218 |
-
with gr.Row():
|
| 219 |
-
|
| 220 |
-
|
| 221 |
|
| 222 |
|
| 223 |
gr.Markdown("### 3. Image to Talking Video")
|
|
@@ -240,7 +240,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 240 |
cache_examples=False,
|
| 241 |
)
|
| 242 |
with gr.Accordion(open=True, label="Driving Video"):
|
| 243 |
-
|
| 244 |
gr.Examples(
|
| 245 |
examples=[
|
| 246 |
[osp.join(example_video_dir, "d0.mp4")],
|
|
|
|
| 186 |
output_video = gr.Video()
|
| 187 |
output_video_concat = gr.Video()
|
| 188 |
|
| 189 |
+
#video_input = gr.Video()
|
| 190 |
driving_video_path=gr.Video()
|
| 191 |
|
| 192 |
|
|
|
|
| 215 |
with gr.Row():
|
| 216 |
#audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
| 217 |
video_gen_button = gr.Button("Audio to Video generation", variant="primary")
|
| 218 |
+
# with gr.Row():
|
| 219 |
+
# #a2v_output = gr.Video()
|
| 220 |
+
# driving_video_path.render()
|
| 221 |
|
| 222 |
|
| 223 |
gr.Markdown("### 3. Image to Talking Video")
|
|
|
|
| 240 |
cache_examples=False,
|
| 241 |
)
|
| 242 |
with gr.Accordion(open=True, label="Driving Video"):
|
| 243 |
+
video_input = gr.Video()
|
| 244 |
gr.Examples(
|
| 245 |
examples=[
|
| 246 |
[osp.join(example_video_dir, "d0.mp4")],
|