Spaces:
Runtime error
Runtime error
Commit ·
9fbd3bb
1
Parent(s): 1d9c87d
Update app.py
Browse files
app.py
CHANGED
|
@@ -265,7 +265,8 @@ def onResetToDefaultSelection():
|
|
| 265 |
def getAllLogFilesUrls():
|
| 266 |
global logs_dir
|
| 267 |
# Save processed data to temporary file
|
| 268 |
-
logFiles = [file for file in os.listdir(logs_dir)
|
|
|
|
| 269 |
|
| 270 |
downloadableFiles = [{"url":f"/download?file_path={logFilePath}", "name":logFilePath} for logFilePath in logFiles]
|
| 271 |
return downloadableFiles
|
|
|
|
| 265 |
def getAllLogFilesUrls():
|
| 266 |
global logs_dir
|
| 267 |
# Save processed data to temporary file
|
| 268 |
+
logFiles = [file for file in os.listdir(logs_dir)]
|
| 269 |
+
print(logFiles,"avaiable logs")
|
| 270 |
|
| 271 |
downloadableFiles = [{"url":f"/download?file_path={logFilePath}", "name":logFilePath} for logFilePath in logFiles]
|
| 272 |
return downloadableFiles
|