ACCA225 commited on
Commit
56fc5ee
1 Parent(s): fa292bd

Update app3.py

Browse files
Files changed (1) hide show
  1. app3.py +2 -2
app3.py CHANGED
@@ -249,7 +249,7 @@ def monitor_gpu():
249
 
250
  time.sleep(60)
251
  def zrok():
252
- localProxy()
253
  notbook()
254
  #os.system("wget https://huggingface.co/datasets/ACCA225/frp-1/resolve/main/frpc")
255
  #os.system("chmod +x ./frpc")
@@ -268,7 +268,7 @@ def start():
268
  #os.system(f"python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --api --exit --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle")
269
  #time.sleep(5)
270
 
271
- command = "python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --api --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7861"
272
  command1 = "python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7862 --ngrok=2bgXLjjKFvxfbuZFlR2NMZkvL8n_4WrK7f15FLtWb8p7v3oaF"
273
  command2 = "python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863 --ngrok=2CXyNlT9xGfFoL5ruI6hQV20FNq_7tbmuzS9RtyNTkyEe1J6C"
274
  process = subprocess.Popen(command, shell=True)
 
249
 
250
  time.sleep(60)
251
  def zrok():
252
+ #localProxy()
253
  notbook()
254
  #os.system("wget https://huggingface.co/datasets/ACCA225/frp-1/resolve/main/frpc")
255
  #os.system("chmod +x ./frpc")
 
268
  #os.system(f"python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --api --exit --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle")
269
  #time.sleep(5)
270
 
271
+ command = "python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --api --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7860"
272
  command1 = "python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7862 --ngrok=2bgXLjjKFvxfbuZFlR2NMZkvL8n_4WrK7f15FLtWb8p7v3oaF"
273
  command2 = "python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863 --ngrok=2CXyNlT9xGfFoL5ruI6hQV20FNq_7tbmuzS9RtyNTkyEe1J6C"
274
  process = subprocess.Popen(command, shell=True)