Spaces:
Running
on
Zero
Running
on
Zero
robin-courant
commited on
Commit
•
66da254
1
Parent(s):
3634b39
Add queue
Browse files
app.py
CHANGED
@@ -197,7 +197,7 @@ def main(gen_fn: Callable):
|
|
197 |
).then(fn=gen_fn, inputs=inputs, outputs=[output])
|
198 |
btn.click(fn=gen_fn, inputs=inputs, outputs=[output])
|
199 |
text.submit(fn=gen_fn, inputs=inputs, outputs=[output])
|
200 |
-
demo.launch(share=False)
|
201 |
|
202 |
|
203 |
# ------------------------------------------------------------------------------------- #
|
|
|
197 |
).then(fn=gen_fn, inputs=inputs, outputs=[output])
|
198 |
btn.click(fn=gen_fn, inputs=inputs, outputs=[output])
|
199 |
text.submit(fn=gen_fn, inputs=inputs, outputs=[output])
|
200 |
+
demo.queue().launch(share=False)
|
201 |
|
202 |
|
203 |
# ------------------------------------------------------------------------------------- #
|