Spaces:
Paused
Paused
Update download_models.py
Browse files- download_models.py +1 -1
download_models.py
CHANGED
|
@@ -45,7 +45,7 @@ shutil.copy2(SOURCE_CSV, DEST_CSV)
|
|
| 45 |
|
| 46 |
# Make sure the file is writable by the app
|
| 47 |
os.chmod(DEST_CSV, 0o666) # rw for everyone
|
| 48 |
-
os.chmod('/app/.config/matplotlib',
|
| 49 |
|
| 50 |
os.chmod("eagleblend.db", 0o666) # rw for everyone
|
| 51 |
print(f"Copied {SOURCE_CSV} → {DEST_CSV} with write permissions")
|
|
|
|
| 45 |
|
| 46 |
# Make sure the file is writable by the app
|
| 47 |
os.chmod(DEST_CSV, 0o666) # rw for everyone
|
| 48 |
+
os.chmod('/app/.config/matplotlib',0o777)
|
| 49 |
|
| 50 |
os.chmod("eagleblend.db", 0o666) # rw for everyone
|
| 51 |
print(f"Copied {SOURCE_CSV} → {DEST_CSV} with write permissions")
|