Spaces:
Runtime error
Runtime error
Commit
·
51cf471
1
Parent(s):
ba9d3fd
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,5 +24,5 @@ def predict(img):
|
|
| 24 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 25 |
|
| 26 |
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3), title = "Bear Classifier",
|
| 27 |
-
description = "A Bear Classifier trained with fastai. Created as a demo for Gradio and HuggingFace Spaces. Classifies from Grizzly,Black and Teddy(Toys). ",interpretation='default', examples=['ted.jpg','grizzly.jpg']).launch(share=True)
|
| 28 |
|
|
|
|
| 24 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 25 |
|
| 26 |
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3), title = "Bear Classifier",
|
| 27 |
+
description = "A Bear Classifier trained with fastai. Created as a demo for Gradio and HuggingFace Spaces. Classifies from Grizzly, Black and Teddy(Toys). ",interpretation='default', examples=['ted.jpg','grizzly.jpg']).launch(share=True)
|
| 28 |
|