Use ngrok-py library

This commit is contained in:
bobzilladev
2023-05-16 13:15:30 -04:00
parent 89f9faa633
commit 0d31f20cbd
4 changed files with 19 additions and 27 deletions

View File

@@ -294,8 +294,8 @@ def prepare_environment():
elif platform.system() == "Linux":
run_pip(f"install {xformers_package}", "xformers")
if not is_installed("pyngrok") and args.ngrok:
run_pip("install pyngrok", "ngrok")
if not is_installed("ngrok") and args.ngrok:
run_pip("install ngrok", "ngrok")
os.makedirs(os.path.join(script_path, dir_repos), exist_ok=True)