Spaces:
Sleeping
Sleeping
GVAmaresh
commited on
Commit
·
3fc2ce9
1
Parent(s):
98ce4e4
dev: check working
Browse files
app.py
CHANGED
@@ -62,4 +62,12 @@ def authenticate_with_env_vars(details):
|
|
62 |
creds.refresh(Request())
|
63 |
else:
|
64 |
raise ValueError("Credentials are invalid and cannot be refreshed.")
|
65 |
-
return creds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
creds.refresh(Request())
|
63 |
else:
|
64 |
raise ValueError("Credentials are invalid and cannot be refreshed.")
|
65 |
+
return creds
|
66 |
+
|
67 |
+
#-----------------------------------------------------------------------------------------
|
68 |
+
|
69 |
+
file_id = "1zhisRgRi2qBFX73VFhzh-Ho93MORQqVa"
|
70 |
+
output = "/path/to/save/file.h5"
|
71 |
+
url = f"https://drive.google.com/uc?id={file_id}"
|
72 |
+
|
73 |
+
gdown.download(url, output, quiet=False)
|