test commited on
Commit
3e26538
·
verified ·
1 Parent(s): dd1bd52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def predict_image(img):
15
 
16
  iface = gr.Interface(
17
  fn=predict_image,
18
- inputs=gr.inputs.Image(type="pil"),
19
  outputs="text",
20
  title="X-ray Image Classifier",
21
  description="Upload an X-ray image to classify it as 'Pneumonia' or 'Normal'."
 
15
 
16
  iface = gr.Interface(
17
  fn=predict_image,
18
+ inputs=gr.Image(type="pil"),
19
  outputs="text",
20
  title="X-ray Image Classifier",
21
  description="Upload an X-ray image to classify it as 'Pneumonia' or 'Normal'."