Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -325,7 +325,7 @@ if __name__ == "__main__":
|
|
325 |
parser.add_argument("--host", type=str, default="0.0.0.0")
|
326 |
parser.add_argument("--debug", action="store_true", help="using debug mode")
|
327 |
parser.add_argument("--port", type=int)
|
328 |
-
parser.add_argument("--concurrency-count", type=int, default=
|
329 |
args = parser.parse_args()
|
330 |
demo = build_demo()
|
331 |
demo.queue(concurrency_count=args.concurrency_count, status_update_rate=10, api_open=False).launch(server_name=args.host, debug=args.debug, server_port=args.port, share=False)
|
|
|
325 |
parser.add_argument("--host", type=str, default="0.0.0.0")
|
326 |
parser.add_argument("--debug", action="store_true", help="using debug mode")
|
327 |
parser.add_argument("--port", type=int)
|
328 |
+
parser.add_argument("--concurrency-count", type=int, default=1)
|
329 |
args = parser.parse_args()
|
330 |
demo = build_demo()
|
331 |
demo.queue(concurrency_count=args.concurrency_count, status_update_rate=10, api_open=False).launch(server_name=args.host, debug=args.debug, server_port=args.port, share=False)
|