Spaces:
Build error
Build error
Commit ·
ecacc2c
1
Parent(s): 9f9efe3
fix: encoding to blike
Browse files
app.py
CHANGED
|
@@ -53,8 +53,8 @@ def make_all(numbers) -> dict:
|
|
| 53 |
mdFile.new_table(columns=len(d)+1, rows=2, text=list_of_strings, text_align='center')
|
| 54 |
mdFile.create_md_file()
|
| 55 |
|
| 56 |
-
with open("Практическая работа по статистике.md",
|
| 57 |
-
mdfile_enc = base64.b64encode(f.read())
|
| 58 |
|
| 59 |
return {
|
| 60 |
"Range": rng,
|
|
|
|
| 53 |
mdFile.new_table(columns=len(d)+1, rows=2, text=list_of_strings, text_align='center')
|
| 54 |
mdFile.create_md_file()
|
| 55 |
|
| 56 |
+
with open("Практическая работа по статистике.md", encoding="utf-8") as f:
|
| 57 |
+
mdfile_enc = base64.b64encode(f.read().encode("utf-8"))
|
| 58 |
|
| 59 |
return {
|
| 60 |
"Range": rng,
|