Compete2 commited on
Commit
25d1110
·
verified ·
1 Parent(s): 13decbd

Update app.py

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