Spaces:
Sleeping
Sleeping
Commit
·
33007ff
1
Parent(s):
7c5859b
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def classify_image(image):
|
|
65 |
|
66 |
inputs = gr.inputs.Image(type="pil", label="Upload an image")
|
67 |
# outputs = gr.outputs.HTML() #uncomment for single class output
|
68 |
-
outputs = gr.outputs.Label(num_top_classes=
|
69 |
|
70 |
title = "<h1 style='text-align: center;'>Image Classifier</h1>"
|
71 |
description = "Upload an image and get the predicted class."
|
|
|
65 |
|
66 |
inputs = gr.inputs.Image(type="pil", label="Upload an image")
|
67 |
# outputs = gr.outputs.HTML() #uncomment for single class output
|
68 |
+
outputs = gr.outputs.Label(num_top_classes=4)
|
69 |
|
70 |
title = "<h1 style='text-align: center;'>Image Classifier</h1>"
|
71 |
description = "Upload an image and get the predicted class."
|