adorkin commited on
Commit
5909573
1 Parent(s): 2193677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -27,8 +27,7 @@ def get_top_emojis(text, top_n=TOP_N):
27
  ranking = ranking.squeeze()[::-1][:top_n]
28
  emojis = [model.config.id2label[i] for i in ranking]
29
  return dict(zip(emojis, sorted_scores)
30
- # return emojis
31
-
32
 
33
  gradio_ui = gr.Interface(
34
  fn=get_top_emojis,
 
27
  ranking = ranking.squeeze()[::-1][:top_n]
28
  emojis = [model.config.id2label[i] for i in ranking]
29
  return dict(zip(emojis, sorted_scores)
30
+
 
31
 
32
  gradio_ui = gr.Interface(
33
  fn=get_top_emojis,