Suhaib-27 commited on
Commit
f6bcc4d
·
verified ·
1 Parent(s): bab99d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
  classifier = pipeline("sentiment-analysis")
4
- text = st.text_enter("Enter your text")
5
 
6
  if text :
7
  out = classifier(text)
 
1
  import streamlit as st
2
  from transformers import pipeline
3
  classifier = pipeline("sentiment-analysis")
4
+ text = st.text_area("Enter your text")
5
 
6
  if text :
7
  out = classifier(text)