abnerh commited on
Commit
bc815d6
1 Parent(s): 0cc2cbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,6 +104,7 @@ def get_subs(input_file, language):
104
 
105
 
106
  gradio_ui = gr.Interface(
 
107
  fn=get_subs,
108
  title="Video to Subtitle",
109
  description="Get subtitles (SRT file) for your videos. Inference speed is about 10s/per 1min of video BUT the speed of uploading your video depends on your internet connection.",
@@ -112,4 +113,4 @@ gradio_ui = gr.Interface(
112
  outputs=gr.outputs.File(label="Auto-Transcript")
113
  )
114
 
115
- gradio_ui.launch(inline=False)
104
 
105
 
106
  gradio_ui = gr.Interface(
107
+ enable_queue=True
108
  fn=get_subs,
109
  title="Video to Subtitle",
110
  description="Get subtitles (SRT file) for your videos. Inference speed is about 10s/per 1min of video BUT the speed of uploading your video depends on your internet connection.",
113
  outputs=gr.outputs.File(label="Auto-Transcript")
114
  )
115
 
116
+ gradio_ui.launch()