Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import os
|
| 3 |
import subprocess
|
| 4 |
|
| 5 |
-
# Define the paths where the
|
| 6 |
OUTPUT_VIDEO_PATH = "output_video.mp4"
|
| 7 |
MODEL_PATH = "checkpoints/checkpoint.pt"
|
| 8 |
|
|
@@ -72,7 +72,7 @@ with gr.Blocks() as demo:
|
|
| 72 |
|
| 73 |
with gr.Row():
|
| 74 |
audio_input = gr.Audio(label="Upload Audio", type="filepath")
|
| 75 |
-
video_input = gr.Video(label="Upload Video"
|
| 76 |
|
| 77 |
output_video = gr.Video(label="Generated Video")
|
| 78 |
|
|
|
|
| 2 |
import os
|
| 3 |
import subprocess
|
| 4 |
|
| 5 |
+
# Define the paths where the output video will be stored
|
| 6 |
OUTPUT_VIDEO_PATH = "output_video.mp4"
|
| 7 |
MODEL_PATH = "checkpoints/checkpoint.pt"
|
| 8 |
|
|
|
|
| 72 |
|
| 73 |
with gr.Row():
|
| 74 |
audio_input = gr.Audio(label="Upload Audio", type="filepath")
|
| 75 |
+
video_input = gr.Video(label="Upload Video") # No 'type' argument here
|
| 76 |
|
| 77 |
output_video = gr.Video(label="Generated Video")
|
| 78 |
|