pclarke commited on
Commit
d626a89
·
1 Parent(s): 6b960aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -36,9 +36,7 @@ def sentiment(text, state):
36
  f"{r['text']}: valence={r['valence']:0.3f}, arousal={r['arousal']:0.3f}, confidence=arousal={r['confidence']:0.3f}"
37
  for r in state
38
  ]
39
- return "\n".join(res_txt),
40
- # df,
41
- state
42
 
43
 
44
  iface = gr.Interface(
 
36
  f"{r['text']}: valence={r['valence']:0.3f}, arousal={r['arousal']:0.3f}, confidence=arousal={r['confidence']:0.3f}"
37
  for r in state
38
  ]
39
+ return "\n".join(res_txt), state # df, state
 
 
40
 
41
 
42
  iface = gr.Interface(