ouhenio commited on
Commit
93dcd43
·
verified ·
1 Parent(s): 87d70ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- # 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
 
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