Christhofer commited on
Commit
6db61bc
·
1 Parent(s): f58f16f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,5 +4,5 @@ import json
4
  def predict_alexnet(image):
5
  return {"benigno": 0.2, "maligno": 0.1, "normal": 0.7}
6
 
7
- iface = gr.Interface(fn=predict_alexnet, inputs="image", outputs=gr.Label(num_top_classes=3))
8
  iface.launch(share=True)
 
4
  def predict_alexnet(image):
5
  return {"benigno": 0.2, "maligno": 0.1, "normal": 0.7}
6
 
7
+ iface = gr.Interface(fn=predict_alexnet, inputs="image", outputs="label")
8
  iface.launch(share=True)