kishoreb4 commited on
Commit
3176694
·
1 Parent(s): f753b2d
Files changed (1) hide show
  1. app.py +1 -1
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/uc?id=1XObpqG8qZ7YUyiRKbpVvxX11yQSK8Y_3"
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.")