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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -2,7 +2,12 @@ from transformers import pipeline
2
  import streamlit as st
3
 
4
  pipe = pipeline('sentiment analysis')
5
- input_text = st.text_input('Enter some text')
 
 
 
 
 
6
 
7
  if input_text:
8
  st.json(pipe(input_text))
 
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:
13
  st.json(pipe(input_text))