Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,9 @@ def detect(img):
|
|
12 |
prediction = np.around(model.predict(img)[0], decimals=0)[0]
|
13 |
|
14 |
if prediction == 1:
|
15 |
-
return "Pneumonia Detected!"
|
16 |
|
17 |
-
return "Pneumonia
|
18 |
|
19 |
|
20 |
input = gr.inputs.Image(shape=(100, 100))
|
|
|
12 |
prediction = np.around(model.predict(img)[0], decimals=0)[0]
|
13 |
|
14 |
if prediction == 1:
|
15 |
+
return "Pneumonia Not Detected!"
|
16 |
|
17 |
+
return "Pneumonia Detected!"
|
18 |
|
19 |
|
20 |
input = gr.inputs.Image(shape=(100, 100))
|