Spaces:
Running
Running
jhj0517
commited on
Commit
·
6b7cadf
1
Parent(s):
03d8629
Remove file_types attribute
Browse files
app.py
CHANGED
|
@@ -291,8 +291,7 @@ class App:
|
|
| 291 |
|
| 292 |
with gr.TabItem("T2T Translation"): # tab 4
|
| 293 |
with gr.Row():
|
| 294 |
-
file_subs = gr.Files(type="filepath", label="Upload Subtitle Files to translate here"
|
| 295 |
-
file_types=['.vtt', '.srt'])
|
| 296 |
|
| 297 |
with gr.TabItem("DeepL API"): # sub tab1
|
| 298 |
with gr.Row():
|
|
|
|
| 291 |
|
| 292 |
with gr.TabItem("T2T Translation"): # tab 4
|
| 293 |
with gr.Row():
|
| 294 |
+
file_subs = gr.Files(type="filepath", label="Upload Subtitle Files to translate here")
|
|
|
|
| 295 |
|
| 296 |
with gr.TabItem("DeepL API"): # sub tab1
|
| 297 |
with gr.Row():
|