pclarke commited on
Commit
046b8bf
·
1 Parent(s): 6958c0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def sentiment(text, state):
28
  state.append(res)
29
  df = pd.DataFrame(state)
30
  res_txt = [
31
- f"{r['text']}: valence={r['valence']:0.3f}, arousal={r['arousal']:0.3f}, confidence=arousal={r['confidence']:0.3f}"
32
  for r in state
33
  ]
34
  return "\n".join(res_txt), df, df, df, state
 
28
  state.append(res)
29
  df = pd.DataFrame(state)
30
  res_txt = [
31
+ f"{r['text']}: \n valence={r['valence']:0.3f}, arousal={r['arousal']:0.3f}, confidence=arousal={r['confidence']:0.3f}"
32
  for r in state
33
  ]
34
  return "\n".join(res_txt), df, df, df, state