AIMLSam commited on
Commit
c7d3ec1
·
verified ·
1 Parent(s): f84be12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ labels = learn.dls.vocab
12
 
13
  def predict(img):
14
  pred, _, probs = learn.predict(img)
15
- return f"This is a {pred} with probability {probs[pred_idx]}"
16
 
17
  # Create the Gradio interface
18
  iface = gr.Interface(
 
12
 
13
  def predict(img):
14
  pred, _, probs = learn.predict(img)
15
+ return pred
16
 
17
  # Create the Gradio interface
18
  iface = gr.Interface(