yuragoithf commited on
Commit
692a09b
·
verified ·
1 Parent(s): dbadffb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ labels = {
24
  # Download the model file
25
  def download_model():
26
  url = "https://drive.google.com/uc?id=12700bE-pomYKoVQ214VrpBoJ7akXcTpL"
27
- output = "modelV2Lmixed.keras"
28
  gdown.download(url, output, quiet=False)
29
  return output
30
 
@@ -32,7 +32,7 @@ def download_model():
32
  download_model()
33
 
34
  # Load the model
35
- model = keras.saving.load_model("/home/user/app/modelV2Lmixed.keras")
36
 
37
  # Perform image classification for single class output
38
  # def predict_class(image):
 
24
  # Download the model file
25
  def download_model():
26
  url = "https://drive.google.com/uc?id=12700bE-pomYKoVQ214VrpBoJ7akXcTpL"
27
+ output = "/home/user/modelV2Lmixed.keras"
28
  gdown.download(url, output, quiet=False)
29
  return output
30
 
 
32
  download_model()
33
 
34
  # Load the model
35
+ model = keras.saving.load_model("/home/user/modelV2Lmixed.keras")
36
 
37
  # Perform image classification for single class output
38
  # def predict_class(image):