Update app.py

#1
by dvilasuero HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def create_record(text, feedback):
34
  label = "True"
35
 
36
  record = rg.TextClassificationRecord(
37
- inputs=str(fields),
38
  annotation=label,
39
  status=status,
40
  metadata={"feedback": feedback}
 
34
  label = "True"
35
 
36
  record = rg.TextClassificationRecord(
37
+ inputs=fields,
38
  annotation=label,
39
  status=status,
40
  metadata={"feedback": feedback}