Ariel Hsieh commited on
Commit
af1454e
1 Parent(s): 734dda1

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ if st.button("Run Sentiment Analysis of Text"):
12
  result = sentiment_pipeline(data)
13
  label = result[0]["label"]
14
  score = result[0]["score"]
15
- st.write("The classification of the given text is " + label + " with a score of " + score)
16
 
17
 
18
 
 
12
  result = sentiment_pipeline(data)
13
  label = result[0]["label"]
14
  score = result[0]["score"]
15
+ st.write("The classification of the given text is " + label + " with a score of " + str(score))
16
 
17
 
18