Maddy90 commited on
Commit
3f1efa3
·
verified ·
1 Parent(s): 48aba11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@
3
  import streamlit as st
4
  from transformers import pipeline
5
 
6
- pipe = pipeline('sentiment analysis')
7
  text = st.text_area('Enter some text!')
8
 
9
  if text:
 
3
  import streamlit as st
4
  from transformers import pipeline
5
 
6
+ pipe = pipeline('sentiment-analysis')
7
  text = st.text_area('Enter some text!')
8
 
9
  if text: