first commit
This commit is contained in:
parent
b216a187bd
commit
f73c77f548
119 changed files with 4504 additions and 4829 deletions
8
backend/utils/data_loader.py
Normal file
8
backend/utils/data_loader.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import json
|
||||
import os
|
||||
|
||||
DATA_DIR = os.path.join(os.path.dirname(__file__), '../data')
|
||||
|
||||
def load_data(filename):
|
||||
with open(os.path.join(DATA_DIR, filename), 'r') as f:
|
||||
return json.load(f)
|
||||
Loading…
Add table
Add a link
Reference in a new issue