Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ def download_safetensors(safetensors_url):
|
|
219 |
if "drive.google.com" in safetensors_url:
|
220 |
gdown.download(url=ckpt_url, output="model.safetensors", quiet=False, fuzzy=True)
|
221 |
else:
|
222 |
-
os.system(f"wget {safetensors_url} -O model.safetensors")
|
223 |
print(subprocess.run(['ls', '-ltr'], stdout=subprocess.PIPE).stdout.decode('utf-8'))
|
224 |
return "download safetensors done!"
|
225 |
|
|
|
219 |
if "drive.google.com" in safetensors_url:
|
220 |
gdown.download(url=ckpt_url, output="model.safetensors", quiet=False, fuzzy=True)
|
221 |
else:
|
222 |
+
os.system(f"wget '{safetensors_url}' -O model.safetensors")
|
223 |
print(subprocess.run(['ls', '-ltr'], stdout=subprocess.PIPE).stdout.decode('utf-8'))
|
224 |
return "download safetensors done!"
|
225 |
|