qgyd2021 commited on
Commit
7733ce5
1 Parent(s): 1a4c139

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
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