Spaces:
Sleeping
Sleeping
Stanislav
commited on
Commit
·
4a0392e
1
Parent(s):
46cdc8b
feat: os testing write
Browse files- run_fastapi.py +3 -0
run_fastapi.py
CHANGED
@@ -15,6 +15,9 @@ from models.dino import DinoWrapper
|
|
15 |
|
16 |
from huggingface_hub import hf_hub_download
|
17 |
|
|
|
|
|
|
|
18 |
# --- Init app and database
|
19 |
app = FastAPI()
|
20 |
init_db()
|
|
|
15 |
|
16 |
from huggingface_hub import hf_hub_download
|
17 |
|
18 |
+
print("WRITE to ./weights:", os.access("weights", os.W_OK))
|
19 |
+
print("WRITE to /data:", os.access("/data", os.W_OK))
|
20 |
+
|
21 |
# --- Init app and database
|
22 |
app = FastAPI()
|
23 |
init_db()
|