Spaces:
Runtime error
Runtime error
Commit
β’
e37e82b
1
Parent(s):
20de8a5
Update app.py
Browse files
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="
|
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
|