ongkn commited on
Commit
acc0e22
·
1 Parent(s): 9e1027a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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
- {"type": "text", "label": "attraction class"},
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()