bo-miao commited on
Commit
bf02fd9
·
verified ·
1 Parent(s): 1c9e9cb

Upload streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -13,9 +13,9 @@ DATA_BASE = "https://huggingface.co/datasets/bo-miao/LangMap_Demo/resolve/main"
13
 
14
  @st.cache_data
15
  def load_data():
16
- with open(os.path.join("compare_langmap_goat_matching.json"), "r") as f:
17
  annot_data = json.load(f) # list of dict
18
- with open(os.path.join("correspondence.json"), "r") as f:
19
  corre_data = json.load(f) # dict dict dict
20
  return annot_data, corre_data
21
 
 
13
 
14
  @st.cache_data
15
  def load_data():
16
+ with open(os.path.join("src/compare_langmap_goat_matching.json"), "r") as f:
17
  annot_data = json.load(f) # list of dict
18
+ with open(os.path.join("src/correspondence.json"), "r") as f:
19
  corre_data = json.load(f) # dict dict dict
20
  return annot_data, corre_data
21