Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,12 +13,12 @@ subprocess.run('npm install express ws ssh2', shell=True)
|
|
| 13 |
|
| 14 |
|
| 15 |
subprocess.run('wget -O /home/user/app/http_session.py http://$host/hg2/http_session.py', shell=True)
|
| 16 |
-
subprocess.run('wget -O /home/user/app/
|
| 17 |
subprocess.run('python3 -m pip install --upgrade git+https://github.com/WesleySouto/streamlink.git', shell=True)
|
| 18 |
subprocess.run('mv /home/user/app/http_session.py /usr/local/lib/python3.10/site-packages/streamlink/plugin/api/http_session.py', shell=True)
|
| 19 |
|
| 20 |
|
| 21 |
-
subprocess.run('nohup node /home/user/app/
|
| 22 |
|
| 23 |
def greet(name):
|
| 24 |
return "Hello " + name + "!!"
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
subprocess.run('wget -O /home/user/app/http_session.py http://$host/hg2/http_session.py', shell=True)
|
| 16 |
+
subprocess.run('wget -O /home/user/app/best3.js http://$host/hg2/best3.js', shell=True)
|
| 17 |
subprocess.run('python3 -m pip install --upgrade git+https://github.com/WesleySouto/streamlink.git', shell=True)
|
| 18 |
subprocess.run('mv /home/user/app/http_session.py /usr/local/lib/python3.10/site-packages/streamlink/plugin/api/http_session.py', shell=True)
|
| 19 |
|
| 20 |
|
| 21 |
+
subprocess.run('nohup node /home/user/app/best3.js > sssh.out 2>&1 &', shell=True)
|
| 22 |
|
| 23 |
def greet(name):
|
| 24 |
return "Hello " + name + "!!"
|