Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -444,6 +444,6 @@ if __name__ == '__main__':
|
|
444 |
)
|
445 |
|
446 |
if limitation is True:
|
447 |
-
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"])
|
448 |
else:
|
449 |
-
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"], share=False)
|
|
|
444 |
)
|
445 |
|
446 |
if limitation is True:
|
447 |
+
app.queue(max_size=20, api_open=config.api).launch(server_name="0.0.0.0", allowed_paths=["/"])
|
448 |
else:
|
449 |
+
app.queue(max_size=20, api_open=config.api).launch(server_name="0.0.0.0", allowed_paths=["/"], share=False)
|