Spaces:
Running
Running
Add Languages
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ iface = gr.Interface(
|
|
190 |
gr.File(label="Upload Video File (or leave empty for YouTube link)"), # Removed 'optional=True'
|
191 |
gr.Textbox(label="YouTube Video URL (optional)", placeholder="https://www.youtube.com/watch?v=..."),
|
192 |
gr.Dropdown(label="Select Original Video Language", choices=["en", "es", "fr", "de", "it", "pt"], value="en"),
|
193 |
-
gr.Dropdown(label="Select Subtitle Translation Language", choices=["en", "fa", "es", "fr"], value="fa"),
|
194 |
gr.Radio(label="Choose Output Format", choices=["SRT", "Video with Hardsub", "Word", "PDF", "PowerPoint"], value="Video with Hardsub")
|
195 |
],
|
196 |
outputs=gr.File(label="Download File"),
|
|
|
190 |
gr.File(label="Upload Video File (or leave empty for YouTube link)"), # Removed 'optional=True'
|
191 |
gr.Textbox(label="YouTube Video URL (optional)", placeholder="https://www.youtube.com/watch?v=..."),
|
192 |
gr.Dropdown(label="Select Original Video Language", choices=["en", "es", "fr", "de", "it", "pt"], value="en"),
|
193 |
+
gr.Dropdown(label="Select Subtitle Translation Language", choices=["en", "fa", "es", "de", "fr", "it", "pt"], value="fa"),
|
194 |
gr.Radio(label="Choose Output Format", choices=["SRT", "Video with Hardsub", "Word", "PDF", "PowerPoint"], value="Video with Hardsub")
|
195 |
],
|
196 |
outputs=gr.File(label="Download File"),
|