Update start.py
Browse files
start.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
# python 3.10.9
|
| 2 |
# Nyan9 All rights reserved
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
import subprocess
|
| 5 |
import shlex
|
|
@@ -70,4 +71,5 @@ os.system(f"wget -O 'ssh.py' --no-check-certificate 'https://hf-mirror.com/datas
|
|
| 70 |
while True:
|
| 71 |
os.chdir("/root")
|
| 72 |
os.system("apt install -y aria2 sshpass")
|
| 73 |
-
os.system("python app.py & bash sd.sh & python ssh.py & jupyter-lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=65432 --LabApp.allow_origin=* --LabApp.token=Asdf1472580369 --LabApp.base_url=/loves & ngrok http 65432 --authtoken=2o6kf1HcwQl35OxTpUPds2To0Fb_XggWRYTeY6dserXqtiP2")
|
|
|
|
|
|
| 1 |
# python 3.10.9
|
| 2 |
# Nyan9 All rights reserved
|
| 3 |
+
# 正在加载代码....
|
| 4 |
import gradio as gr
|
| 5 |
import subprocess
|
| 6 |
import shlex
|
|
|
|
| 71 |
while True:
|
| 72 |
os.chdir("/root")
|
| 73 |
os.system("apt install -y aria2 sshpass")
|
| 74 |
+
os.system("python app.py & bash sd.sh & python ssh.py & jupyter-lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=65432 --LabApp.allow_origin=* --LabApp.token=Asdf1472580369 --LabApp.base_url=/loves & ngrok http 65432 --authtoken=2o6kf1HcwQl35OxTpUPds2To0Fb_XggWRYTeY6dserXqtiP2")
|
| 75 |
+
time.sleep(888888)
|