ACCA225 commited on
Commit
225a304
1 Parent(s): a7756c7

Update app3.py

Browse files
Files changed (1) hide show
  1. app3.py +2 -1
app3.py CHANGED
@@ -70,7 +70,8 @@ create_directory(configs_directory)
70
  # 下载配置文件
71
  download_file('https://huggingface.co/spaces/ACCA225/Stable_Diffusion-No-2/resolve/main/config-pub.json', os.path.join(base_directory, 'config.json'))
72
  download_file('https://huggingface.co/datasets/ACCA225/openxlab/resolve/main/ui-config-pri2.json', os.path.join(base_directory, 'ui-config-pri.json'))
73
- download_file('https://huggingface.co/spaces/ACCA225/Stable_Diffusion-No-2/resolve/main/ui-config-pub.json', os.path.join(base_directory, 'ui-config.json'))
 
74
 
75
  os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/extensions")
76
  os.system(f"rm -rf ./batchlinks-webui")
 
70
  # 下载配置文件
71
  download_file('https://huggingface.co/spaces/ACCA225/Stable_Diffusion-No-2/resolve/main/config-pub.json', os.path.join(base_directory, 'config.json'))
72
  download_file('https://huggingface.co/datasets/ACCA225/openxlab/resolve/main/ui-config-pri2.json', os.path.join(base_directory, 'ui-config-pri.json'))
73
+ download_file('https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/ui-config-pub.json', os.path.join(base_directory, 'ui-config.json'))
74
+ #download_file('https://huggingface.co/spaces/ACCA225/Stable_Diffusion-No-2/resolve/main/ui-config-pub.json', os.path.join(base_directory, 'ui-config.json'))
75
 
76
  os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/extensions")
77
  os.system(f"rm -rf ./batchlinks-webui")