new test shamik 6
Browse files
app.py
CHANGED
@@ -797,11 +797,11 @@ def main(port, host, share, api):
|
|
797 |
print(f"Starting app...")
|
798 |
|
799 |
# app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api)
|
800 |
-
app.queue(api_open=api).launch(show_api=api)
|
801 |
|
802 |
|
803 |
if __name__ == "__main__":
|
804 |
if not USING_SPACES:
|
805 |
main()
|
806 |
else:
|
807 |
-
app.queue(
|
|
|
797 |
print(f"Starting app...")
|
798 |
|
799 |
# app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api)
|
800 |
+
app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api)
|
801 |
|
802 |
|
803 |
if __name__ == "__main__":
|
804 |
if not USING_SPACES:
|
805 |
main()
|
806 |
else:
|
807 |
+
app.queue().launch(share=True)
|