Update app.py
Browse files
app.py
CHANGED
@@ -217,7 +217,8 @@ def download_safetensors(safetensors_url):
|
|
217 |
if "drive.google.com" in safetensors_url:
|
218 |
gdown.download(url=ckpt_url, output="model.safetensors", quiet=False, fuzzy=True)
|
219 |
else:
|
220 |
-
os.system(f"wget {safetensors_url} -O model.safetensors")
|
|
|
221 |
return "download safetensors done!"
|
222 |
|
223 |
def from_safetensors_to_ckpt(ckpt_name):
|
|
|
217 |
if "drive.google.com" in safetensors_url:
|
218 |
gdown.download(url=ckpt_url, output="model.safetensors", quiet=False, fuzzy=True)
|
219 |
else:
|
220 |
+
os.system(f"wget -v {safetensors_url} -O model.safetensors")
|
221 |
+
print(os.system("ls -ltr"))
|
222 |
return "download safetensors done!"
|
223 |
|
224 |
def from_safetensors_to_ckpt(ckpt_name):
|