Anthos23 commited on
Commit
9a7476e
·
1 Parent(s): 44f1183

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,4 +25,4 @@ text = st.text_area(f'Ciao! This app uses {model_name}.\nEnter your text to tes
25
  if text:
26
  out = pipe(text)
27
 
28
- st.json(get_sentiment(out[0]))
 
25
  if text:
26
  out = pipe(text)
27
 
28
+ st.json(get_sentiment(out[0][0]))