Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ image = gr.Image()
|
|
20 |
label = gr.Label(num_top_classes=5)
|
21 |
|
22 |
description = "## Categories: \n" + ", ".join(pipe.model.config.label2id.keys())
|
23 |
-
examples = [["samples/cycling.jpg"], ["samples/dancing.webp"], ["samples/running.jpg"], ["samples/sleeping.webp"]]
|
24 |
theme = gr.themes.Default(primary_hue="red", secondary_hue="pink")
|
25 |
|
26 |
gr.Interface(fn=classify_image, inputs=image, outputs=label, title='Human Action Recognition',
|
|
|
20 |
label = gr.Label(num_top_classes=5)
|
21 |
|
22 |
description = "## Categories: \n" + ", ".join(pipe.model.config.label2id.keys())
|
23 |
+
examples = [["samples/cycling.jpg"], ["samples/dancing.webp"], ["samples/listening music.png"], ["samples/running.jpg"], ["samples/sleeping.webp"]]
|
24 |
theme = gr.themes.Default(primary_hue="red", secondary_hue="pink")
|
25 |
|
26 |
gr.Interface(fn=classify_image, inputs=image, outputs=label, title='Human Action Recognition',
|