Spaces:
Build error
Build error
Launch Interface
Browse files
app.py
CHANGED
|
@@ -10,4 +10,5 @@ def predict(img):
|
|
| 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(share=True)
|
|
|
|
|
|
| 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()
|