Suburst commited on
Commit
c58ae33
·
verified ·
1 Parent(s): 6ec39ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,5 +27,6 @@ def process_video(video):
27
  out.release()
28
  return 'output.mp4'
29
 
30
- demo = gr.Interface(fn=app_main, inputs="video", outputs="video")
 
31
  demo.launch()
 
27
  out.release()
28
  return 'output.mp4'
29
 
30
+ demo = gr.Interface(fn=app_main, inputs="video", outputs="video", timeout=1500) # 300 秒超时
31
+
32
  demo.launch()