Spaces:
Sleeping
Sleeping
add
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def download_model_from_drive():
|
|
33 |
model_path = "tf_model.h5"
|
34 |
if not os.path.exists(model_path):
|
35 |
# Fix the Google Drive link format - this is why the download is failing
|
36 |
-
url = "https://drive.google.com/
|
37 |
try:
|
38 |
gdown.download(url, model_path, quiet=False)
|
39 |
st.success("Model downloaded successfully from Google Drive.")
|
|
|
33 |
model_path = "tf_model.h5"
|
34 |
if not os.path.exists(model_path):
|
35 |
# Fix the Google Drive link format - this is why the download is failing
|
36 |
+
url = "https://drive.google.com/file/d/1XObpqG8qZ7YUyiRKbpVvxX11yQSK8Y_3/view?usp=sharing"
|
37 |
try:
|
38 |
gdown.download(url, model_path, quiet=False)
|
39 |
st.success("Model downloaded successfully from Google Drive.")
|