gbsim commited on
Commit
72ec861
·
verified ·
1 Parent(s): 68a5d49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,4 +9,5 @@ def test(txt, vid):
9
 
10
  # iface = gr.Interface(fn=test, inputs=["text", "video"], outputs="text", examples=["test", os.path.join(os.path.dirname(__file__), 'sample.mp4')])
11
  iface = gr.Interface(fn=test, inputs=["text", "video"], outputs=["video"])
 
12
  iface.launch(share=True)
 
9
 
10
  # iface = gr.Interface(fn=test, inputs=["text", "video"], outputs="text", examples=["test", os.path.join(os.path.dirname(__file__), 'sample.mp4')])
11
  iface = gr.Interface(fn=test, inputs=["text", "video"], outputs=["video"])
12
+ iface.queue(max_size=2)
13
  iface.launch(share=True)