Spaces:
Sleeping
Sleeping
kyleleey
commited on
Commit
·
eb64278
1
Parent(s):
a152ea8
update launch interface
Browse files
app.py
CHANGED
@@ -670,9 +670,9 @@ def run_demo():
|
|
670 |
inputs=[processed_image],
|
671 |
outputs=[view_1, view_2, shape_1, shape_1_download, shape_2, shape_2_download]
|
672 |
)
|
673 |
-
|
674 |
-
_, local_url, share_url = demo.queue().launch(share=True, server_name="0.0.0.0", server_port=23425)
|
675 |
-
print('local_url: ', local_url)
|
676 |
|
677 |
|
678 |
if __name__ == '__main__':
|
|
|
670 |
inputs=[processed_image],
|
671 |
outputs=[view_1, view_2, shape_1, shape_1_download, shape_2, shape_2_download]
|
672 |
)
|
673 |
+
demo.queue().launch(share=True, max_threads=80)
|
674 |
+
# _, local_url, share_url = demo.queue().launch(share=True, server_name="0.0.0.0", server_port=23425)
|
675 |
+
# print('local_url: ', local_url)
|
676 |
|
677 |
|
678 |
if __name__ == '__main__':
|