titipata commited on
Commit
bf80da4
1 Parent(s): 6cd66c6

Update to .queue().launch()

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -86,4 +86,6 @@ with gr.Blocks() as demo:
86
  yt_transcribe_btn = gr.Button("Transcribe YouTube Video")
87
  yt_transcribe_btn.click(fn=yt_transcribe, inputs=yt_url_input, outputs=[yt_html_output, yt_text_output])
88
 
89
- demo.launch(enable_queue=True)
 
 
 
86
  yt_transcribe_btn = gr.Button("Transcribe YouTube Video")
87
  yt_transcribe_btn.click(fn=yt_transcribe, inputs=yt_url_input, outputs=[yt_html_output, yt_text_output])
88
 
89
+
90
+ if __name__ == "__main__":
91
+ demo.queue().launch()