Pendrokar commited on
Commit
313342d
1 Parent(s): 5a70465

text-classification

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- pipeline = pipeline(task="emoji-prediction", model="colinryan/hf-deepmoji")
5
 
6
  def predict(deepmoji_analysis):
7
  predictions = pipeline(deepmoji_analysis)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ pipeline = pipeline(task="text-classification", model="colinryan/hf-deepmoji")
5
 
6
  def predict(deepmoji_analysis):
7
  predictions = pipeline(deepmoji_analysis)