Spaces:
Running
Running
return label type
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ st = SentenceTokenizer(vocabulary, maxlen)
|
|
35 |
model = torchmoji_emojis(model_path)
|
36 |
|
37 |
def predict(deepmoji_analysis, emoji_count):
|
38 |
-
return_label =
|
39 |
tokenized, _, _ = st.tokenize_sentences([deepmoji_analysis])
|
40 |
prob = model(tokenized)
|
41 |
|
|
|
35 |
model = torchmoji_emojis(model_path)
|
36 |
|
37 |
def predict(deepmoji_analysis, emoji_count):
|
38 |
+
return_label = {}
|
39 |
tokenized, _, _ = st.tokenize_sentences([deepmoji_analysis])
|
40 |
prob = model(tokenized)
|
41 |
|