Waflon commited on
Commit
9f9181e
·
verified ·
1 Parent(s): cd304ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,11 +11,11 @@ with st.status("Cargando app...", expanded=True) as status:
11
 
12
  analyzer = create_analyzer(task="sentiment", lang="es")
13
  text = st.text_area('Ingresa algun texto:')
14
- analyzer.predict(text)
15
 
16
  status.update(label="App cargada con exito!", state="complete")
17
 
18
  if text:
19
- out = pipe(text)
20
  st.json(out)
21
  st.button('Rerun')
 
11
 
12
  analyzer = create_analyzer(task="sentiment", lang="es")
13
  text = st.text_area('Ingresa algun texto:')
14
+
15
 
16
  status.update(label="App cargada con exito!", state="complete")
17
 
18
  if text:
19
+ out = analyzer.predict(text)
20
  st.json(out)
21
  st.button('Rerun')