nayyabzahra148 commited on
Commit
1b61d46
1 Parent(s): 67eb764

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from Translator import VideoToSubtitle
2
- import gradio
3
 
4
  interface=gr.Interface(fn=VideoToSubtitle,inputs=[gr.inputs.Textbox(lines=2,placeholder="Enter Video URL",label="URL"),gr.inputs.Radio(["Arabic","French","German","Persian","Spanish"],type="value",label="Language")],
5
  outputs=[gr.outputs.Textbox(label="English Outcome"),gr.outputs.Textbox(label="Language Outcome")],
 
1
  from Translator import VideoToSubtitle
2
+ import gradio as gr
3
 
4
  interface=gr.Interface(fn=VideoToSubtitle,inputs=[gr.inputs.Textbox(lines=2,placeholder="Enter Video URL",label="URL"),gr.inputs.Radio(["Arabic","French","German","Persian","Spanish"],type="value",label="Language")],
5
  outputs=[gr.outputs.Textbox(label="English Outcome"),gr.outputs.Textbox(label="Language Outcome")],