goldpulpy commited on
Commit
5d4ae22
1 Parent(s): e67c90d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import random
2
  import subprocess
3
  import os
4
- import gradio
5
  import requests
6
 
7
 
@@ -16,8 +16,8 @@ def predict(video, audio):
16
  return output_file
17
 
18
 
19
- demo = gr.Interface(fn=predict, inputs=[gradio.Video(label='Source image/video'),
20
- gradio.Audio(type='filepath', label='Target Audio')],
21
- outputs=gradio.Video())
22
  demo.launch()
23
 
 
1
  import random
2
  import subprocess
3
  import os
4
+ import gradio as gr
5
  import requests
6
 
7
 
 
16
  return output_file
17
 
18
 
19
+ demo = gr.Interface(fn=predict, inputs=[gr.Video(label='Source image/video'),
20
+ gr.Audio(type='filepath', label='Target Audio')],
21
+ outputs=gr.Video())
22
  demo.launch()
23