zhiminy commited on
Commit
cb57621
·
1 Parent(s): 054913b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -167,9 +167,9 @@ def load_content_from_hf(repo_name="SE-Arena/votes"):
167
 
168
  try:
169
  api = HfApi()
170
-
171
  # List all files in the repository
172
- repo_files = api.list_repo_files(repo_id="SE-Arena/votes", repo_type="dataset")
173
 
174
  # Filter files by current year and month
175
  feedback_files = [file for file in repo_files if year_month in file]
 
167
 
168
  try:
169
  api = HfApi()
170
+ print('here')
171
  # List all files in the repository
172
+ repo_files = api.list_repo_files(repo_id=repo_name, repo_type="dataset")
173
 
174
  # Filter files by current year and month
175
  feedback_files = [file for file in repo_files if year_month in file]