thewillofdee commited on
Commit
e7f63c6
·
1 Parent(s): 545ae84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,4 +10,4 @@ def predict(img):
10
  img = PILImage.create(img)
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
13
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3)).launch(share=True)
 
10
  img = PILImage.create(img)
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
13
+ gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3)).launch()