Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ async def update_validation_space_on_answer(response, type, timestamp):
|
|
57 |
validation_record = {
|
58 |
"question": record.fields["question"],
|
59 |
# Use the first available response value - adjust this based on your actual response structure
|
60 |
-
"answer": response.values[
|
61 |
}
|
62 |
|
63 |
# Add the record to the validation space
|
|
|
57 |
validation_record = {
|
58 |
"question": record.fields["question"],
|
59 |
# Use the first available response value - adjust this based on your actual response structure
|
60 |
+
"answer": response.values["text"],
|
61 |
}
|
62 |
|
63 |
# Add the record to the validation space
|