Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,16 +24,15 @@ labels = {
|
|
24 |
# Download the model file
|
25 |
def download_model():
|
26 |
url = "https://drive.google.com/uc?id=12700bE-pomYKoVQ214VrpBoJ7akXcTpL"
|
27 |
-
output = "
|
28 |
gdown.download(url, output, quiet=False)
|
29 |
-
print("GOOD")
|
30 |
return output
|
31 |
|
32 |
#model_file = download_model()
|
33 |
download_model()
|
34 |
|
35 |
# Load the model
|
36 |
-
model = keras.saving.load_model("
|
37 |
|
38 |
# Perform image classification for single class output
|
39 |
# 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 = "./modelV2Lmixed.keras"
|
28 |
gdown.download(url, output, quiet=False)
|
|
|
29 |
return output
|
30 |
|
31 |
#model_file = download_model()
|
32 |
download_model()
|
33 |
|
34 |
# Load the model
|
35 |
+
model = keras.saving.load_model("./modelV2Lmixed.keras")
|
36 |
|
37 |
# Perform image classification for single class output
|
38 |
# def predict_class(image):
|