Spaces:
Sleeping
Sleeping
Fixed 'example images not showing'
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ iface = gr.Interface(
|
|
25 |
inputs=gr.components.Image(shape=(224, 224)),
|
26 |
outputs=gr.components.Label(num_top_classes=3),
|
27 |
description="Tool Classifier",
|
28 |
-
article=f"<p style='text-align: center'>{', '.join(class_names)}</p>",
|
29 |
-
examples=[["mosfet.jpg", "screwdriver.jpg", "hammel.png", "led.jpg"]],
|
30 |
live=True,
|
31 |
)
|
32 |
|
|
|
25 |
inputs=gr.components.Image(shape=(224, 224)),
|
26 |
outputs=gr.components.Label(num_top_classes=3),
|
27 |
description="Tool Classifier",
|
28 |
+
article=f"<h1>Class Names</h1><br><p style='text-align: center'>{', '.join(class_names)}</p>",
|
29 |
+
examples=[["mosfet.jpg"], ["screwdriver.jpg"], ["hammel.png"], ["led.jpg"]],
|
30 |
live=True,
|
31 |
)
|
32 |
|