Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,7 @@ async def update_validation_space_on_answer(response, type, timestamp):
|
|
56 |
# Based on the error, let's try to get the value differently
|
57 |
validation_record = {
|
58 |
"question": record.fields["question"],
|
59 |
-
|
60 |
-
"answer": response.values["text"],
|
61 |
}
|
62 |
|
63 |
# Add the record to the validation space
|
|
|
56 |
# Based on the error, let's try to get the value differently
|
57 |
validation_record = {
|
58 |
"question": record.fields["question"],
|
59 |
+
"answer": record.values["text"],
|
|
|
60 |
}
|
61 |
|
62 |
# Add the record to the validation space
|