Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
|
|
5 |
import gradio as gr
|
6 |
|
7 |
# Load the trained model
|
8 |
-
model = tf.keras.models.load_model("
|
9 |
|
10 |
# Define the prediction function
|
11 |
def predict_xray(image):
|
|
|
5 |
import gradio as gr
|
6 |
|
7 |
# Load the trained model
|
8 |
+
model = tf.keras.models.load_model("pneumonia_detection.h5")
|
9 |
|
10 |
# Define the prediction function
|
11 |
def predict_xray(image):
|