Spaces:
Build error
Build error
fixed gradio interface arguments error
Browse files
app.py
CHANGED
|
@@ -17,8 +17,6 @@ def predict(img):
|
|
| 17 |
title = "Flower Classifier"
|
| 18 |
description = "A flower classifier trained on the images downloaded from the internet."
|
| 19 |
examples = ['sunflower.jpg','marigold.jpg']
|
| 20 |
-
interpretation='default'
|
| 21 |
-
enable_queue=True
|
| 22 |
|
| 23 |
-
intf = gr.Interface(fn=predict,inputs=gr.Image(type="pil"),outputs=gr.Label(),title=title,description=description,examples=examples
|
| 24 |
intf.launch()
|
|
|
|
| 17 |
title = "Flower Classifier"
|
| 18 |
description = "A flower classifier trained on the images downloaded from the internet."
|
| 19 |
examples = ['sunflower.jpg','marigold.jpg']
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
intf = gr.Interface(fn=predict,inputs=gr.Image(type="pil"),outputs=gr.Label(),title=title,description=description,examples=examples)
|
| 22 |
intf.launch()
|