syeda-Rija20 commited on
Commit
449c267
·
verified ·
1 Parent(s): 50c9f6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def load_image_model():
57
  model_path = "image_model.h5"
58
 
59
  if not os.path.exists(model_path):
60
- url = "https://huggingface.co/syeda-Rija20/image-detector/blob/main/image_detector_finetuned.h5"
61
  response = requests.get(url)
62
  with open(model_path, "wb") as f:
63
  f.write(response.content)
 
57
  model_path = "image_model.h5"
58
 
59
  if not os.path.exists(model_path):
60
+ url = "https://huggingface.co/syeda-Rija20/image-detector/resolve/main/image_detector_finetuned.h5"
61
  response = requests.get(url)
62
  with open(model_path, "wb") as f:
63
  f.write(response.content)