suhyun.kang commited on
Commit
b6833d5
1 Parent(s): 47db0c3

update comment

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def vote(state_a, state_b, vote_button, res_type, source_lang, target_lang):
38
  doc_id = uuid4().hex
39
  winner = VoteOptions(vote_button).name.lower()
40
 
41
- # The 'messages' field in the state is an array of arrays, a data type
42
  # not supported by Firestore. Therefore, we convert it to a JSON string.
43
  model_a_conv = json.dumps(state_a.dict())
44
  model_b_conv = json.dumps(state_b.dict())
 
38
  doc_id = uuid4().hex
39
  winner = VoteOptions(vote_button).name.lower()
40
 
41
+ # The 'messages' field in the state is an array of arrays, which is
42
  # not supported by Firestore. Therefore, we convert it to a JSON string.
43
  model_a_conv = json.dumps(state_a.dict())
44
  model_b_conv = json.dumps(state_b.dict())