muellerzr commited on
Commit
30c9eef
·
1 Parent(s): 21be48b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,5 +21,5 @@ def predict(img):
21
  clas, idx, probs = learn.predict(img)
22
  return "Dog" if clas == "False" else "Cat"
23
 
24
- iface = gr.Interface(fn=predict, inputs="image", outputs="text")
25
  iface.launch()
 
21
  clas, idx, probs = learn.predict(img)
22
  return "Dog" if clas == "False" else "Cat"
23
 
24
+ iface = gr.Interface(fn=predict, inputs="image", outputs="label")
25
  iface.launch()