Rundstedtz commited on
Commit
4c911d7
1 Parent(s): de78380

Update app.py

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