Commit
·
071abd4
1
Parent(s):
44417a9
Add debug logging for JSON file count in refresh_submissions
Browse files- gradio_interface.py +1 -0
gradio_interface.py
CHANGED
@@ -30,6 +30,7 @@ def refresh_submissions():
|
|
30 |
print("os.listdir(hub_path):", os.listdir(hub_path))
|
31 |
all_jsons = glob.glob(hub_path + "/**/*.json", recursive=True)
|
32 |
json_files = [f.split("/")[-1] for f in all_jsons]
|
|
|
33 |
submissions = []
|
34 |
for file in json_files:
|
35 |
username, sub_timestamp, task = file.replace(
|
|
|
30 |
print("os.listdir(hub_path):", os.listdir(hub_path))
|
31 |
all_jsons = glob.glob(hub_path + "/**/*.json", recursive=True)
|
32 |
json_files = [f.split("/")[-1] for f in all_jsons]
|
33 |
+
print("json_files count:", len(json_files))
|
34 |
submissions = []
|
35 |
for file in json_files:
|
36 |
username, sub_timestamp, task = file.replace(
|