Horus7 commited on
Commit
23b3221
1 Parent(s): c7429e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 Not Detected!"
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))