mrfakename commited on
Commit
9f5404a
1 Parent(s): 23170d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,14 +62,14 @@ Automatically add on-screen subtitles to your videos.
62
 
63
  **NOTE:** Uploading copyrighted/NSFW content to this service is strictly prohibited.
64
 
65
- The maximum length of video is 15 minutes. This service probably won't work well on non-English videos.
66
 
67
  Powered by OAI Whisper & MoviePy!
68
  """)
69
- vid_inp = gr.Video(interactive=True, label="Upload or record video", max_length=900)
70
  go_btn = gr.Button("Transcribe!", variant="primary")
71
  with gr.Column(scale=1):
72
  status = gr.Markdown("**Status updates will appear here.**")
73
  vid_out = gr.Video(interactive=False, label="Result")
74
  go_btn.click(subtitle, inputs=[vid_inp], outputs=[status, vid_out])
75
- demo.queue(api_open=False).launch(show_api=False)
 
62
 
63
  **NOTE:** Uploading copyrighted/NSFW content to this service is strictly prohibited.
64
 
65
+ The maximum length of video is 5 minutes. This service probably won't work well on non-English videos.
66
 
67
  Powered by OAI Whisper & MoviePy!
68
  """)
69
+ vid_inp = gr.Video(interactive=True, label="Upload or record video", max_length=300)
70
  go_btn = gr.Button("Transcribe!", variant="primary")
71
  with gr.Column(scale=1):
72
  status = gr.Markdown("**Status updates will appear here.**")
73
  vid_out = gr.Video(interactive=False, label="Result")
74
  go_btn.click(subtitle, inputs=[vid_inp], outputs=[status, vid_out])
75
+ demo.queue(api_open=False, default_concurrency_limit=20).launch(show_api=False)