vpcom commited on
Commit
953e4ee
1 Parent(s): 3e178d1

fix: support Persian characters

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -205,7 +205,7 @@ def vote(data: gr.LikeData):
205
  "repetition_penalty": additional_inputs[4].value,
206
  "response": data.value,
207
  "label": data.liked,
208
- }
209
  )
210
  ]
211
  jsonlfile.write("\n".join(json_data) + "\n")
 
205
  "repetition_penalty": additional_inputs[4].value,
206
  "response": data.value,
207
  "label": data.liked,
208
+ }, ensure_ascii=False
209
  )
210
  ]
211
  jsonlfile.write("\n".join(json_data) + "\n")