Will-uob commited on
Commit
9e5db96
1 Parent(s): 306069b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,4 +19,4 @@ def predict(img):
19
  pred,pred_idx,probs = learn.predict(img)
20
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
21
 
22
- gr.Interface(fn=predict, inputs=gr.Image(shape=(512, 512)), outputs=gr.Label(num_top_classes=3)).launch(share=True)
 
19
  pred,pred_idx,probs = learn.predict(img)
20
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
21
 
22
+ gr.Interface(fn=predict, inputs=gr.Image(shape=(512, 512)), outputs=gr.Label(num_top_classes=3)).launch(share=False)