Spaces:
Sleeping
Sleeping
amruthakp7
commited on
Commit
•
8b4348f
1
Parent(s):
3e53610
from_csv added again
Browse files
app.py
CHANGED
@@ -15,10 +15,10 @@ def from_csv(x):
|
|
15 |
y = x['emotion'].item() # #y=x['label'].values[0]
|
16 |
return str(y)
|
17 |
except:
|
18 |
-
print('check these files')
|
19 |
-
print(x)
|
20 |
return 0
|
21 |
-
|
22 |
labels = learn.dls.vocab
|
23 |
def predict(img):
|
24 |
img = PILImage.create(img)
|
|
|
15 |
y = x['emotion'].item() # #y=x['label'].values[0]
|
16 |
return str(y)
|
17 |
except:
|
18 |
+
# print('check these files')
|
19 |
+
# print(x)
|
20 |
return 0
|
21 |
+
|
22 |
labels = learn.dls.vocab
|
23 |
def predict(img):
|
24 |
img = PILImage.create(img)
|