Jingni commited on
Commit
40e097c
·
verified ·
1 Parent(s): 8f42cf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -4,7 +4,6 @@ from transformers import pipeline
4
  st.title("Predict Emotion of Social Media Post")
5
 
6
  pipeline = pipeline("text-classification", "Jingni/transient_data" )
7
- pipeline2 = pipeline("text-classification", "Jingni/tweet_eval")
8
 
9
  text = st.write("Enter a social media post:")
10
 
@@ -12,7 +11,4 @@ if text:
12
  out =pipeline(text)
13
  st.json(out)
14
 
15
- if text:
16
- out2 = pipeline2(text)
17
- st.json(out2)
18
 
 
4
  st.title("Predict Emotion of Social Media Post")
5
 
6
  pipeline = pipeline("text-classification", "Jingni/transient_data" )
 
7
 
8
  text = st.write("Enter a social media post:")
9
 
 
11
  out =pipeline(text)
12
  st.json(out)
13
 
 
 
 
14