Update launch.py
Browse files
launch.py
CHANGED
|
@@ -58,7 +58,7 @@ def run_command(command):
|
|
| 58 |
subprocess.run(command, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
| 59 |
|
| 60 |
def main():
|
| 61 |
-
ngrok_start(ngrokTokenFile,
|
| 62 |
if not args.skip_prepare_environment:
|
| 63 |
launch_utils.prepare_environment()
|
| 64 |
run_command(f"""sed -i -e ''"s/dict()))/dict())).cuda()/g"'' /bushu/ui/repositories/stable-diffusion-stability-ai/ldm/util.py""")
|
|
|
|
| 58 |
subprocess.run(command, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
| 59 |
|
| 60 |
def main():
|
| 61 |
+
ngrok_start(ngrokTokenFile,7861,'use ngrok',ngrok_use)
|
| 62 |
if not args.skip_prepare_environment:
|
| 63 |
launch_utils.prepare_environment()
|
| 64 |
run_command(f"""sed -i -e ''"s/dict()))/dict())).cuda()/g"'' /bushu/ui/repositories/stable-diffusion-stability-ai/ldm/util.py""")
|