Update app.py
Browse files
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)
|