Imane Momayiz
commited on
Commit
·
28c72ae
1
Parent(s):
bd96122
fix: ar encoding
Browse files- src/components.py +4 -2
src/components.py
CHANGED
@@ -46,8 +46,10 @@ def store_submission(
|
|
46 |
"darija": translation_fr,
|
47 |
"eng": translation,
|
48 |
"darija_ar": sentence,
|
49 |
-
"timestamp": ts}
|
50 |
-
|
|
|
|
|
51 |
f.write("\n")
|
52 |
|
53 |
st.success(
|
|
|
46 |
"darija": translation_fr,
|
47 |
"eng": translation,
|
48 |
"darija_ar": sentence,
|
49 |
+
"timestamp": ts},
|
50 |
+
),
|
51 |
+
ensure_ascii=False
|
52 |
+
)
|
53 |
f.write("\n")
|
54 |
|
55 |
st.success(
|