romlinux commited on
Commit
a52b680
1 Parent(s): 97fe8f1

Do not support share as it is not supported in spaces

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,4 +17,4 @@ script_dir = os.path.dirname(os.path.realpath(__file__))
17
  learn_inf = load_learner(script_dir + '/model/cat_dog_classifier.pkl')
18
  labels = learn_inf.dls.vocab
19
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(224, 224)),
20
- outputs=gr.outputs.Label(num_top_classes=3)).launch(share=True)
 
17
  learn_inf = load_learner(script_dir + '/model/cat_dog_classifier.pkl')
18
  labels = learn_inf.dls.vocab
19
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(224, 224)),
20
+ outputs=gr.outputs.Label(num_top_classes=3)).launch(share=False)