luulinh90s
commited on
Commit
·
591d3f0
1
Parent(s):
66eae26
update
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def load_session_data(username):
|
|
60 |
try:
|
61 |
api = HfApi()
|
62 |
files = api.list_repo_files(repo_id="luulinh90s/Tabular-LLM-Study-Data", repo_type="space")
|
63 |
-
user_files = [f for f in files if f.startswith(f'
|
64 |
if not user_files:
|
65 |
logger.warning(f"No session data found for user {username}")
|
66 |
return None
|
|
|
60 |
try:
|
61 |
api = HfApi()
|
62 |
files = api.list_repo_files(repo_id="luulinh90s/Tabular-LLM-Study-Data", repo_type="space")
|
63 |
+
user_files = [f for f in files if f.startswith(f'session_data_foward_simulation/{username}_') and f.endswith('_session.json')]
|
64 |
if not user_files:
|
65 |
logger.warning(f"No session data found for user {username}")
|
66 |
return None
|