Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ DATA_FILE = os.path.join("data", DATA_FILENAME)
|
|
19 |
repo = Repository( local_dir="data", clone_from=DATASET_REPO_URL, repo_type="dataset", use_auth_token= auth_token)
|
20 |
import json
|
21 |
file_name = 'paralist.json'
|
22 |
-
with open('
|
23 |
paraList = json.load(json_file)
|
24 |
keys = paraList.keys()
|
25 |
#data = pd.read_csv("test.csv")
|
|
|
19 |
repo = Repository( local_dir="data", clone_from=DATASET_REPO_URL, repo_type="dataset", use_auth_token= auth_token)
|
20 |
import json
|
21 |
file_name = 'paralist.json'
|
22 |
+
with open('data/{}'.format(file_name), 'r', encoding="utf8") as json_file:
|
23 |
paraList = json.load(json_file)
|
24 |
keys = paraList.keys()
|
25 |
#data = pd.read_csv("test.csv")
|