Update app3.py
Browse files
app3.py
CHANGED
@@ -162,7 +162,7 @@ def check_service(host, port):
|
|
162 |
def localProxy():
|
163 |
os.system('apt install nginx -y')
|
164 |
download_file('https://huggingface.co/datasets/ACCA225/openxlab/resolve/main/proxy_nginx.conf', os.path.join(base_directory, 'proxy_nginx.conf'))
|
165 |
-
run(f'''nginx -c /home/xlab-app-center/
|
166 |
|
167 |
|
168 |
import os
|
|
|
162 |
def localProxy():
|
163 |
os.system('apt install nginx -y')
|
164 |
download_file('https://huggingface.co/datasets/ACCA225/openxlab/resolve/main/proxy_nginx.conf', os.path.join(base_directory, 'proxy_nginx.conf'))
|
165 |
+
run(f'''nginx -c /home/xlab-app-center/proxy_nginx.conf && echo succeed''')
|
166 |
|
167 |
|
168 |
import os
|