ouhenio commited on
Commit
765b6f2
·
verified ·
1 Parent(s): 93dcd43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +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
- "answer": record.values["text"],
60
  }
61
 
62
  # 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.fields["text"],
60
  }
61
 
62
  # Add the record to the validation space