Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -437,8 +437,8 @@ if __name__ == '__main__':
|
|
437 |
"#### <center>Model creators:\n"
|
438 |
f"<center>{authStr}\n"
|
439 |
)
|
440 |
-
|
441 |
if limitation is True:
|
442 |
-
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"]
|
443 |
else:
|
444 |
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"], share=False)
|
|
|
437 |
"#### <center>Model creators:\n"
|
438 |
f"<center>{authStr}\n"
|
439 |
)
|
440 |
+
|
441 |
if limitation is True:
|
442 |
+
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"])
|
443 |
else:
|
444 |
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"], share=False)
|