from Translator import VideoToSubtitle import gradio as gr 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")], outputs=[gr.outputs.Textbox(label="English Outcome"),gr.outputs.Textbox(label="Language Outcome")], examples=[ ["https://www.youtube.com/watch?v=8BBzoOB7nxs&t=3s","Spanish"] ], enable_queu=True) interface.launch(debug=True)