Spaces:
Runtime error
Runtime error
Commit
Β·
8e5554f
1
Parent(s):
b59be17
Update app.py (#1)
Browse files- Update app.py (434df15790a53cbcbf8b28382a5d8b43f9f187d2)
Co-authored-by: Daniel Vila <[email protected]>
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def create_record(text, feedback):
|
|
| 34 |
label = "True"
|
| 35 |
|
| 36 |
record = rg.TextClassificationRecord(
|
| 37 |
-
inputs=
|
| 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}
|