Spaces:
Sleeping
Sleeping
IC4T
commited on
Commit
·
90b71c1
1
Parent(s):
06f0841
commit
Browse files
app.py
CHANGED
@@ -272,7 +272,9 @@ with gr.Blocks(
|
|
272 |
# predict, chatbot
|
273 |
# )
|
274 |
|
275 |
-
|
|
|
|
|
276 |
#demo.launch(server_name=args.server_name, server_port=args.server_port, share=args.share, debug=args.debug)
|
277 |
-
demo.launch()
|
278 |
|
|
|
272 |
# predict, chatbot
|
273 |
# )
|
274 |
|
275 |
+
if __name__ == "__main__":
|
276 |
+
|
277 |
+
# demo.queue(concurrency_count=1,max_size=100).launch(max_threads=5,debug=True)
|
278 |
#demo.launch(server_name=args.server_name, server_port=args.server_port, share=args.share, debug=args.debug)
|
279 |
+
demo.queue(concurrency_count=5).launch()
|
280 |
|