nastasiasnk commited on
Commit
39a6ba3
1 Parent(s): 142527f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ pipe = pipeline ('sentiment-analysis')
5
  text = st.text_area("some text")
6
 
7
  if text:
8
- out = pipe.text
9
  st.json(out)
 
5
  text = st.text_area("some text")
6
 
7
  if text:
8
+ out = pipe(text)
9
  st.json(out)