Spaces:
Sleeping
Sleeping
new model
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def run_inference(interpreter, image):
|
|
| 34 |
|
| 35 |
# Gradio interface function
|
| 36 |
def predict(image):
|
| 37 |
-
interpreter = load_tflite_model("
|
| 38 |
preprocessed_image = preprocess_image(image)
|
| 39 |
prediction = run_inference(interpreter, preprocessed_image)
|
| 40 |
|
|
|
|
| 34 |
|
| 35 |
# Gradio interface function
|
| 36 |
def predict(image):
|
| 37 |
+
interpreter = load_tflite_model("MNv2Flood_cat_Mar2025.tflite") # Replace with your TFLite model path
|
| 38 |
preprocessed_image = preprocess_image(image)
|
| 39 |
prediction = run_inference(interpreter, preprocessed_image)
|
| 40 |
|