Update app.py
Browse files
app.py
CHANGED
@@ -79,10 +79,8 @@ def classify_image(input):
|
|
79 |
iface = gr.Interface(
|
80 |
fn=classify_image,
|
81 |
inputs="image",
|
82 |
-
outputs=[
|
83 |
-
|
84 |
-
{"type": "number", "label": "score (confidence)"}
|
85 |
-
],
|
86 |
description="Takes in a (224, 224) image and outputs an attraction class: {\"pos\", \"neg\"}"
|
87 |
)
|
88 |
iface.launch()
|
|
|
79 |
iface = gr.Interface(
|
80 |
fn=classify_image,
|
81 |
inputs="image",
|
82 |
+
outputs=["text", "number"],
|
83 |
+
title="Attraction Classifier - subjective",
|
|
|
|
|
84 |
description="Takes in a (224, 224) image and outputs an attraction class: {\"pos\", \"neg\"}"
|
85 |
)
|
86 |
iface.launch()
|