varshithkumar commited on
Commit
0638dc4
·
1 Parent(s): 07aa38c

Add Gradio app and requirements for WBC ResNet50

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ description = "Upload a blood-smear image. Model resizes input to 224×224. If m
80
  demo = gr.Interface(
81
  fn=predict,
82
  inputs=gr.Image(type="pil", label="Upload image"),
83
- outputs=gr.Label(num_top_classes=4, label="Predictions"),
84
  title=title,
85
  description=description,
86
  allow_flagging="never"
 
80
  demo = gr.Interface(
81
  fn=predict,
82
  inputs=gr.Image(type="pil", label="Upload image"),
83
+ outputs=gr.Label(num_top_classes=None, label="Predictions"),
84
  title=title,
85
  description=description,
86
  allow_flagging="never"