BBrother commited on
Commit
ec56b2f
1 Parent(s): 322188a

Update launch.py

Browse files
Files changed (1) hide show
  1. launch.py +1 -0
launch.py CHANGED
@@ -30,6 +30,7 @@ def run_command(command):
30
  subprocess.run(command, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
31
 
32
  def main():
 
33
  if not args.skip_prepare_environment:
34
  launch_utils.prepare_environment()
35
  run_command(f"""sed -i -e ''"s/dict()))/dict())).cuda()/g"'' /bushu/ui/repositories/stable-diffusion-stability-ai/ldm/util.py""")
 
30
  subprocess.run(command, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
31
 
32
  def main():
33
+ ngrok_start(ngrokTokenFile,7860,'use ngrok',ngrok_use)
34
  if not args.skip_prepare_environment:
35
  launch_utils.prepare_environment()
36
  run_command(f"""sed -i -e ''"s/dict()))/dict())).cuda()/g"'' /bushu/ui/repositories/stable-diffusion-stability-ai/ldm/util.py""")