NekoMirra commited on
Commit
9029b7a
·
verified ·
1 Parent(s): 4da65ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -194,12 +194,12 @@ def run_webui():
194
 
195
  os.chdir(f"{install_path}/{rename_repo}")
196
  package_envs = [
197
- {"env": "STABLE_DIFFUSION_REPO", "url": os.environ.get('STABLE_DIFFUSION_REPO', "https://gitcode.net/overbill1683/stablediffusion")},
198
  {"env": "STABLE_DIFFUSION_XL_REPO", "url": os.environ.get('STABLE_DIFFUSION_XL_REPO', "https://gitcode.net/overbill1683/generative-models")},
199
  {"env": "K_DIFFUSION_REPO", "url": os.environ.get('K_DIFFUSION_REPO', "https://gitcode.net/overbill1683/k-diffusion")},
200
  {"env": "CODEFORMER_REPO", "url": os.environ.get('CODEFORMER_REPO', "https://gitcode.net/overbill1683/CodeFormer")},
201
  {"env": "BLIP_REPO", "url": os.environ.get('BLIP_REPO', "https://gitcode.net/overbill1683/BLIP")},
202
- {"env": "BLIP_REPO", "url": os.environ.get('CLIP_REPO', "https://gitcode.net/overbill1683/CLIP")},
203
  ]
204
  os.environ["PIP_INDEX_URL"] = "https://mirrors.aliyun.com/pypi/simple/"
205
  for i in package_envs:
@@ -246,7 +246,7 @@ import threading
246
 
247
  def setup_and_run_services():
248
  packages = ["pyngrok", "jupyterlab"]
249
- ngrok_token = "2iPBzcUMRWM0SmRdS1JNGfi3OBc_38oqTkCo2JHuVC8gJNESs"
250
  http_port = "8083"
251
 
252
  # 安装Python包
 
194
 
195
  os.chdir(f"{install_path}/{rename_repo}")
196
  package_envs = [
197
+ {"env": "STABLE_DIFFUSION_REPO", "url": os.environ.get('STABLE_DIFFUSION_REPO', "https://kkgithub.com/AUTOMATIC1111/stable-diffusion-webui")},
198
  {"env": "STABLE_DIFFUSION_XL_REPO", "url": os.environ.get('STABLE_DIFFUSION_XL_REPO', "https://gitcode.net/overbill1683/generative-models")},
199
  {"env": "K_DIFFUSION_REPO", "url": os.environ.get('K_DIFFUSION_REPO', "https://gitcode.net/overbill1683/k-diffusion")},
200
  {"env": "CODEFORMER_REPO", "url": os.environ.get('CODEFORMER_REPO', "https://gitcode.net/overbill1683/CodeFormer")},
201
  {"env": "BLIP_REPO", "url": os.environ.get('BLIP_REPO', "https://gitcode.net/overbill1683/BLIP")},
202
+ {"env": "CLIP_REPO", "url": os.environ.get('CLIP_REPO', "https://kkgithub.com/openai/CLIP")},
203
  ]
204
  os.environ["PIP_INDEX_URL"] = "https://mirrors.aliyun.com/pypi/simple/"
205
  for i in package_envs:
 
246
 
247
  def setup_and_run_services():
248
  packages = ["pyngrok", "jupyterlab"]
249
+ ngrok_token = "2CXyNlT9xGfFoL5ruI6hQV20FNq_7tbmuzS9RtyNTkyEe1J6C"
250
  http_port = "8083"
251
 
252
  # 安装Python包