chore: move model storage into project models/ directory
Models now live in <project>/models/ instead of ~/.8cut_models/ so everything stays self-contained. Updated .gitignore to exclude models/, .venv/, *.joblib, and *.pt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+4
-2
@@ -3,5 +3,7 @@ __pycache__/
|
||||
*.pyo
|
||||
.pytest_cache/
|
||||
.worktrees/
|
||||
client/node_modules/
|
||||
client/src-tauri/target/
|
||||
.venv/
|
||||
models/
|
||||
*.joblib
|
||||
*.pt
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ from .paths import _log
|
||||
|
||||
_SR = 16000 # lower sr = faster
|
||||
_WINDOW = 8.0 # seconds
|
||||
_MODEL_DIR = os.path.join(os.path.expanduser("~"), ".8cut_models")
|
||||
_MODEL_DIR = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "models")
|
||||
_W2V_CACHE_DIR = os.path.join(os.path.expanduser("~"), ".8cut_cache", "w2v")
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user