Spaces:
Running
Running
ZeroCommand
commited on
Commit
•
97c6f8e
1
Parent(s):
6e92592
fix typo
Browse files- app_debug.py +1 -1
app_debug.py
CHANGED
@@ -20,7 +20,7 @@ def get_accordions_of_log_files():
|
|
20 |
return get_accordions_of_files(LOG_PATH, log_files)
|
21 |
|
22 |
def get_accordions_of_config_files():
|
23 |
-
config_files =
|
24 |
return get_accordions_of_files(CONFIG_PATH, config_files)
|
25 |
|
26 |
def get_demo(demo):
|
|
|
20 |
return get_accordions_of_files(LOG_PATH, log_files)
|
21 |
|
22 |
def get_accordions_of_config_files():
|
23 |
+
config_files = [f for f in listdir(CONFIG_PATH) if isfile(join(CONFIG_PATH, f)) and f.endswith(".yaml")]
|
24 |
return get_accordions_of_files(CONFIG_PATH, config_files)
|
25 |
|
26 |
def get_demo(demo):
|