Spaces:
Sleeping
Sleeping
still fix gradio
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ from gradio.components import Label as gradio_label
|
|
| 61 |
UI=gr.Interface(fn=image_to_output,
|
| 62 |
inputs=gradio_image(height=224, width=224),
|
| 63 |
outputs=gradio_label(num_top_classes=5),
|
| 64 |
-
interpretation="default"
|
| 65 |
)
|
| 66 |
|
| 67 |
|
|
@@ -70,7 +70,7 @@ description = "This model was trained to recognize 102 types of flowers. For the
|
|
| 70 |
UI=gr.Interface(fn=image_to_output,
|
| 71 |
inputs=gradio_image(height=224, width=224),
|
| 72 |
outputs=gradio_label(num_top_classes=5),
|
| 73 |
-
interpretation="default",
|
| 74 |
description=description,
|
| 75 |
title="Flower Classifier",
|
| 76 |
article="*built by qmjnh*"
|
|
@@ -82,7 +82,7 @@ article2="\n *built by qmjnh*"
|
|
| 82 |
UI=gr.Interface(fn=image_to_output,
|
| 83 |
inputs=gradio_image(height=224, width=224),
|
| 84 |
outputs=gradio_label(num_top_classes=5),
|
| 85 |
-
interpretation="none",
|
| 86 |
description=description,
|
| 87 |
title="Flower Classifier",
|
| 88 |
article= article1 + article2
|
|
|
|
| 61 |
UI=gr.Interface(fn=image_to_output,
|
| 62 |
inputs=gradio_image(height=224, width=224),
|
| 63 |
outputs=gradio_label(num_top_classes=5),
|
| 64 |
+
# interpretation="default"
|
| 65 |
)
|
| 66 |
|
| 67 |
|
|
|
|
| 70 |
UI=gr.Interface(fn=image_to_output,
|
| 71 |
inputs=gradio_image(height=224, width=224),
|
| 72 |
outputs=gradio_label(num_top_classes=5),
|
| 73 |
+
# interpretation="default",
|
| 74 |
description=description,
|
| 75 |
title="Flower Classifier",
|
| 76 |
article="*built by qmjnh*"
|
|
|
|
| 82 |
UI=gr.Interface(fn=image_to_output,
|
| 83 |
inputs=gradio_image(height=224, width=224),
|
| 84 |
outputs=gradio_label(num_top_classes=5),
|
| 85 |
+
# interpretation="none",
|
| 86 |
description=description,
|
| 87 |
title="Flower Classifier",
|
| 88 |
article= article1 + article2
|