darshankr commited on
Commit
3d7f5ab
·
verified ·
1 Parent(s): c2a0891

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import os
3
  import subprocess
4
 
5
- # Define the paths where the input and output files will be stored
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", type="filepath")
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