ouhenio commited on
Commit
0e57e89
·
verified ·
1 Parent(s): 38695d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -56,11 +56,6 @@ async def update_validation_space_on_answer(response, type, timestamp):
56
  response_dict = response.to_dict()
57
  print("response dict", response_dict)
58
  answer = response_dict["values"]['text']['value']
59
- # if hasattr(response, 'values') and 'text' in response.values:
60
- # if isinstance(response.values['text'], dict) and 'value' in response.values['text']:
61
- # response_value = response.values['text']['value']
62
- # else:
63
- # response_value = str(response.values['text'])
64
 
65
  # Create a validation record with the correct attribute
66
  # Instead of response.value, we need to find the correct attribute
 
56
  response_dict = response.to_dict()
57
  print("response dict", response_dict)
58
  answer = response_dict["values"]['text']['value']
 
 
 
 
 
59
 
60
  # Create a validation record with the correct attribute
61
  # Instead of response.value, we need to find the correct attribute