Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -160,6 +160,7 @@ if os.path.exists(model_path):
|
|
160 |
# wget γ§γγ‘γ€γ«γγγ¦γ³γγΌγ
|
161 |
cmd = f'wget --header="Authorization: Bearer {hf_token}" -O {model_path} "https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/flux1-dev.safetensors"'
|
162 |
os.system(cmd)
|
|
|
163 |
|
164 |
print("Done\nStarting Webui...")
|
165 |
os.chdir(user_home / r"stable-diffusion-webui")
|
|
|
160 |
# wget γ§γγ‘γ€γ«γγγ¦γ³γγΌγ
|
161 |
cmd = f'wget --header="Authorization: Bearer {hf_token}" -O {model_path} "https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/flux1-dev.safetensors"'
|
162 |
os.system(cmd)
|
163 |
+
os.system("ls -lh /home/user/stable-diffusion-webui/models/Stable-diffusion/flux1-dev.safetensors")
|
164 |
|
165 |
print("Done\nStarting Webui...")
|
166 |
os.chdir(user_home / r"stable-diffusion-webui")
|