Frantz103 commited on
Commit
0d1ddc6
1 Parent(s): f6fa618

remove share True in app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,6 +13,6 @@ def predict(img):
13
  pred, pred_idx, probs = learn_inf.predict(img)
14
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
15
 
16
- title = "Is this image a cat?"
17
  iface = gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512,512)), outputs=gr.outputs.Label(num_top_classes=2), title=title)
18
- iface.launch(share=True)
 
13
  pred, pred_idx, probs = learn_inf.predict(img)
14
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
15
 
16
+ title = "Is this image of a cat?"
17
  iface = gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512,512)), outputs=gr.outputs.Label(num_top_classes=2), title=title)
18
+ iface.launch()