ACCA225 commited on
Commit
627fab4
1 Parent(s): 37d4c66

Update app3.py

Browse files
Files changed (1) hide show
  1. app3.py +1 -1
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/stable-diffusion-webui/proxy_nginx.conf''')
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