Pendrokar commited on
Commit
9aba162
1 Parent(s): f631ef8

return label type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = dict[str, float]
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