spookie-boogie commited on
Commit
84dea15
·
verified ·
1 Parent(s): 4370796

Update the markdown folder name

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -42,10 +42,10 @@ st.markdown("""
42
  </style>
43
  """, unsafe_allow_html=True)
44
 
45
- def get_all_docs(repo_path="sampled_markdown"):
46
  """
47
- Gets all document IDs from the nested structure in sampled_markdown directory.
48
- Structure: sampled_markdown/folder_id/doc_id/
49
  """
50
  all_docs = []
51
 
@@ -125,7 +125,7 @@ def main():
125
  st.title("Document Analysis Leaderboard")
126
 
127
  # Get all doc-ids from the fixed repository path
128
- repo_path = "sampled_markdown"
129
 
130
  with st.spinner("Loading documents..."):
131
  all_docs = get_all_docs(repo_path)
 
42
  </style>
43
  """, unsafe_allow_html=True)
44
 
45
+ def get_all_docs(repo_path="markdowns"):
46
  """
47
+ Gets all document IDs from the nested structure in markdowns directory.
48
+ Structure: markdowns/folder_id/doc_id/
49
  """
50
  all_docs = []
51
 
 
125
  st.title("Document Analysis Leaderboard")
126
 
127
  # Get all doc-ids from the fixed repository path
128
+ repo_path = "markdowns"
129
 
130
  with st.spinner("Loading documents..."):
131
  all_docs = get_all_docs(repo_path)