jaybeeja commited on
Commit
5dff745
·
1 Parent(s): f1d5887

Remove share from launch

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,5 +10,4 @@ def predict(img):
10
  learn = load_learner('age.pkl')
11
  labels = learn.dls.vocab
12
 
13
- interface = gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512,512)), outputs=gr.outputs.Label(num_top_classes=3)).launch(share=True)
14
- interfaced.launch()
 
10
  learn = load_learner('age.pkl')
11
  labels = learn.dls.vocab
12
 
13
+ gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512,512)), outputs=gr.outputs.Label(num_top_classes=3)).launch()