Spaces:
Runtime error
Runtime error
removed new method
Browse files
app.py
CHANGED
@@ -23,8 +23,7 @@ def download_models(ids):
|
|
23 |
# Download model from drive if not stored locally
|
24 |
for key in ids:
|
25 |
if not os.path.isfile(f"model/{key}.ckpt"):
|
26 |
-
|
27 |
-
url = f"https://drive.google.com/u/0/uc?export=download&confirm=eyGg&id={ids[key]}"
|
28 |
gdown.download(url=url, output=f"model/{key}.ckpt")
|
29 |
|
30 |
|
|
|
23 |
# Download model from drive if not stored locally
|
24 |
for key in ids:
|
25 |
if not os.path.isfile(f"model/{key}.ckpt"):
|
26 |
+
url = f"https://drive.google.com/uc?id={ids[key]}"
|
|
|
27 |
gdown.download(url=url, output=f"model/{key}.ckpt")
|
28 |
|
29 |
|