Update app2.py
Browse files
app2.py
CHANGED
@@ -188,7 +188,7 @@ plugins = [
|
|
188 |
"https://kkgithub.com/fkunn1326/openpose-editor.git",
|
189 |
"https://kkgithub.com/zero01101/openOutpaint-webUI-extension.git",
|
190 |
"https://kkgithub.com/LonicaMewinsky/gif2gif.git",
|
191 |
-
"https://kkgithub.com/modelscope/facechain.git",
|
192 |
"https://openi.pcl.ac.cn/2575044704/sd-webui-controlnet",
|
193 |
"https://openi.pcl.ac.cn/2575044704/sd-webui-agent-scheduler",
|
194 |
"https://openi.pcl.ac.cn/2575044704/sd-webui-depth-lib"
|
@@ -320,11 +320,11 @@ def start():
|
|
320 |
command2 = "python launch.py --ui-config=/home/xlab-app-center/stable-diffusion-webui/ui-config2.json --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863"
|
321 |
process = subprocess.Popen(command, shell=True)
|
322 |
time.sleep(250)
|
323 |
-
process = subprocess.Popen(command1, shell=True)
|
324 |
time.sleep(100)
|
325 |
print("启动ngrok中")
|
326 |
command_ngrok = f"ngrok http 8888 --authtoken={ngrok_token} --region=ap & ngrok http 7863 --authtoken=2H8A6felNlmleMqWBF0UUt2C72e_7mqBMs1nVibXbfnK28KrX --region=ap"
|
327 |
-
process = subprocess.Popen(command2, shell=True)
|
328 |
def start_ngrok():
|
329 |
try:
|
330 |
os.system(f"{command_ngrok}")
|
|
|
188 |
"https://kkgithub.com/fkunn1326/openpose-editor.git",
|
189 |
"https://kkgithub.com/zero01101/openOutpaint-webUI-extension.git",
|
190 |
"https://kkgithub.com/LonicaMewinsky/gif2gif.git",
|
191 |
+
#"https://kkgithub.com/modelscope/facechain.git",
|
192 |
"https://openi.pcl.ac.cn/2575044704/sd-webui-controlnet",
|
193 |
"https://openi.pcl.ac.cn/2575044704/sd-webui-agent-scheduler",
|
194 |
"https://openi.pcl.ac.cn/2575044704/sd-webui-depth-lib"
|
|
|
320 |
command2 = "python launch.py --ui-config=/home/xlab-app-center/stable-diffusion-webui/ui-config2.json --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863"
|
321 |
process = subprocess.Popen(command, shell=True)
|
322 |
time.sleep(250)
|
323 |
+
#process = subprocess.Popen(command1, shell=True)
|
324 |
time.sleep(100)
|
325 |
print("启动ngrok中")
|
326 |
command_ngrok = f"ngrok http 8888 --authtoken={ngrok_token} --region=ap & ngrok http 7863 --authtoken=2H8A6felNlmleMqWBF0UUt2C72e_7mqBMs1nVibXbfnK28KrX --region=ap"
|
327 |
+
#process = subprocess.Popen(command2, shell=True)
|
328 |
def start_ngrok():
|
329 |
try:
|
330 |
os.system(f"{command_ngrok}")
|