Spaces:
Running
Running
Update app.py
Browse files
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 =
|
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
|