Spaces:
Running
Running
Commit
·
69b0a31
1
Parent(s):
6d2d4e1
ensure ascii=False
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def count_tokens(text):
|
|
| 21 |
|
| 22 |
try:
|
| 23 |
parsed_json = json.loads(text)
|
| 24 |
-
text = json.dumps(parsed_json, indent=4)
|
| 25 |
except json.JSONDecodeError:
|
| 26 |
pass
|
| 27 |
|
|
|
|
| 21 |
|
| 22 |
try:
|
| 23 |
parsed_json = json.loads(text)
|
| 24 |
+
text = json.dumps(parsed_json, indent=4, ensure_ascii=False)
|
| 25 |
except json.JSONDecodeError:
|
| 26 |
pass
|
| 27 |
|