Ridealist commited on
Commit
df27a80
·
1 Parent(s): 72b7663

Minor change

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -13,5 +13,9 @@ def predict(img):
13
  pred,pred_idx,probs = learn.predict(img)
14
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
15
 
16
- iface = gr.Interface(fn=predict, inputs=gr.Image(shape=(512, 512)), outputs=gr.Label(num_top_classes=3)).launch()
 
 
 
 
17
  iface.launch()
 
13
  pred,pred_idx,probs = learn.predict(img)
14
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
15
 
16
+
17
+ iface = gr.Interface(fn=predict,
18
+ inputs=gr.Image(shape=(512, 512)),
19
+ outputs=gr.Label(num_top_classes=3),
20
+ interpretation='default')
21
  iface.launch()