Badr AlKhamissi
commited on
Commit
·
a5dcf03
1
Parent(s):
0a5c0c9
json read bug fix
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ feature_names = [
|
|
16 |
"Type"
|
17 |
]
|
18 |
|
19 |
-
with open("./
|
20 |
poet_names = json.load(fin)
|
21 |
|
22 |
def greet(name):
|
|
|
16 |
"Type"
|
17 |
]
|
18 |
|
19 |
+
with open("./poet_names.json", 'r', encoding="utf-8") as fin:
|
20 |
poet_names = json.load(fin)
|
21 |
|
22 |
def greet(name):
|