tonyassi commited on
Commit
f435cd3
1 Parent(s): 02a2f02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ decade = pipeline(model="tonyassi/fashion-clothing-decade")
5
 
6
  def greet(img):
7
  pred = decade(images=img)
8
- res = pred[0]['label'] + ':' + str(pred[0]['score']) + '\n'
9
  #res += pred[1]['label'] + ':' + str(pred[1]['score']) + '\n'
10
  #res += pred[2]['label'] + ':' + str(pred[2]['score'])
11
  return res
 
5
 
6
  def greet(img):
7
  pred = decade(images=img)
8
+ res = '#' + pred[0]['label']
9
  #res += pred[1]['label'] + ':' + str(pred[1]['score']) + '\n'
10
  #res += pred[2]['label'] + ':' + str(pred[2]['score'])
11
  return res