Gradio port change to share true
Browse files
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
app.py
CHANGED
@@ -783,7 +783,7 @@ def main(port, host, share, api):
|
|
783 |
global app
|
784 |
print(f"Starting app...")
|
785 |
app.queue(api_open=api).launch(
|
786 |
-
server_name=host, server_port=
|
787 |
)
|
788 |
|
789 |
|
@@ -791,4 +791,4 @@ if __name__ == "__main__":
|
|
791 |
if not USING_SPACES:
|
792 |
main()
|
793 |
else:
|
794 |
-
app.queue().launch()
|
|
|
783 |
global app
|
784 |
print(f"Starting app...")
|
785 |
app.queue(api_open=api).launch(
|
786 |
+
server_name=host, server_port=port, share=share, show_api=api
|
787 |
)
|
788 |
|
789 |
|
|
|
791 |
if not USING_SPACES:
|
792 |
main()
|
793 |
else:
|
794 |
+
app.queue().launch(share=True)
|