Spaces:
Runtime error
Runtime error
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -900,7 +900,7 @@ def get_latest_csv() -> str:
|
|
900 |
Retrieves the latest CSV file from the storage directory based on modification time.
|
901 |
"""
|
902 |
try:
|
903 |
-
storage_location =
|
904 |
csv_files = [f for f in os.listdir(storage_location) if f.endswith(".csv")]
|
905 |
if not csv_files:
|
906 |
return None
|
|
|
900 |
Retrieves the latest CSV file from the storage directory based on modification time.
|
901 |
"""
|
902 |
try:
|
903 |
+
storage_location = "/home/users/app/scraped_data"
|
904 |
csv_files = [f for f in os.listdir(storage_location) if f.endswith(".csv")]
|
905 |
if not csv_files:
|
906 |
return None
|