Update main.py
Browse files
main.py
CHANGED
@@ -99,7 +99,9 @@ def main():
|
|
99 |
)
|
100 |
|
101 |
blocks.queue().launch(
|
102 |
-
share=False if platform.system() == "Windows" else False
|
|
|
|
|
103 |
)
|
104 |
return
|
105 |
|
|
|
99 |
)
|
100 |
|
101 |
blocks.queue().launch(
|
102 |
+
share=False if platform.system() == "Windows" else False,
|
103 |
+
server_name="127.0.0.1" if platform.system() == "Windows" else "0.0.0.0",
|
104 |
+
server_port=7860
|
105 |
)
|
106 |
return
|
107 |
|