Spaces:
Runtime error
Runtime error
fix: support Persian characters
Browse files
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")
|