Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from pathlib import Path
|
|
| 4 |
from http.server import BaseHTTPRequestHandler, HTTPServer
|
| 5 |
|
| 6 |
# ĐẶT biến này đúng bằng mount path bạn chọn trong Space Settings
|
| 7 |
-
MOUNT_PATH = os.getenv("BUCKET_MOUNT_PATH", "/
|
| 8 |
|
| 9 |
def scan(base: str):
|
| 10 |
p = Path(base)
|
|
|
|
| 4 |
from http.server import BaseHTTPRequestHandler, HTTPServer
|
| 5 |
|
| 6 |
# ĐẶT biến này đúng bằng mount path bạn chọn trong Space Settings
|
| 7 |
+
MOUNT_PATH = os.getenv("BUCKET_MOUNT_PATH", "/data")
|
| 8 |
|
| 9 |
def scan(base: str):
|
| 10 |
p = Path(base)
|