Do not support share as it is not supported in spaces
Browse files
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=
|
|
|
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)
|