dvilasuero HF staff commited on
Commit
e37e82b
β€’
1 Parent(s): 20de8a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ class ArgillaLogger(FlaggingCallback):
23
  inference = flag_data[1]
24
  prediction = [(pred["label"], pred["confidence"]) for pred in inference["confidences"]]
25
  rg.log(
26
- name="gradio_logging",
27
  records=rg.TextClassificationRecord(text=text, prediction=prediction)
28
  )
29
  pass
 
23
  inference = flag_data[1]
24
  prediction = [(pred["label"], pred["confidence"]) for pred in inference["confidences"]]
25
  rg.log(
26
+ name="sentiment_feedback",
27
  records=rg.TextClassificationRecord(text=text, prediction=prediction)
28
  )
29
  pass