Spaces:
Build error
Build error
Remove share from launch
Browse files
app.py
CHANGED
|
@@ -10,5 +10,4 @@ def predict(img):
|
|
| 10 |
learn = load_learner('age.pkl')
|
| 11 |
labels = learn.dls.vocab
|
| 12 |
|
| 13 |
-
|
| 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()
|
|
|