aavideora commited on
Commit
5da8e02
·
1 Parent(s): 62f0733

Update app.py

Browse files

Removed the shared true and changed to false

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