Update gradio_app.py
Browse files- gradio_app.py +2 -2
gradio_app.py
CHANGED
@@ -340,8 +340,8 @@ if __name__ == "__main__":
|
|
340 |
dynamicrafter_iface = dynamicrafter_demo(result_dir)
|
341 |
dynamicrafter_iface.queue(max_size=12)
|
342 |
print("launching...")
|
343 |
-
|
344 |
|
345 |
-
dynamicrafter_iface.launch(server_name='0.0.0.0', server_port=12345)
|
346 |
# dynamicrafter_iface.launch()
|
347 |
# print("launched...")
|
|
|
340 |
dynamicrafter_iface = dynamicrafter_demo(result_dir)
|
341 |
dynamicrafter_iface.queue(max_size=12)
|
342 |
print("launching...")
|
343 |
+
dynamicrafter_iface.launch(max_threads=1, share=True)
|
344 |
|
345 |
+
# dynamicrafter_iface.launch(server_name='0.0.0.0', server_port=12345)
|
346 |
# dynamicrafter_iface.launch()
|
347 |
# print("launched...")
|