Spaces:
BG5
/
Running

BG5 commited on
Commit
60fd002
·
verified ·
1 Parent(s): 5f380e4

Update fun.py

Browse files
Files changed (1) hide show
  1. fun.py +2 -1
fun.py CHANGED
@@ -45,7 +45,8 @@ def get_default_launch_args():
45
  "--disable-features=TranslateUI",
46
  "--no-first-run",
47
  "--no-default-browser-check",
48
- "--remote-allow-origins=*"
 
49
  ]
50
  def wait_port(host, port, timeout=5.0):
51
  """等待端口可用"""
 
45
  "--disable-features=TranslateUI",
46
  "--no-first-run",
47
  "--no-default-browser-check",
48
+ "--remote-allow-origins=*",
49
+ "--headless"
50
  ]
51
  def wait_port(host, port, timeout=5.0):
52
  """等待端口可用"""