jhj0517 commited on
Commit
6b7cadf
·
1 Parent(s): 03d8629

Remove file_types attribute

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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():