Revert "fix(settings): 补齐CUDA运行组件下载与安装入口"

This reverts commit c912409343ed7a6bd66823e994d25487ed42cf9a.
This commit is contained in:
2026-09-05 02:02:26 +08:00
parent 4441c54d4d
commit 1ac44e2881
8 changed files with 3 additions and 272 deletions
-3
View File
@@ -70,9 +70,6 @@ def configure(request):
def interpreter():
from app.local_models import components
if not os.getenv("APP_MODEL_PYTHON") and configuration().device == "cuda" and components.ready():
return components.ROOT / "Scripts/python.exe"
return Path(os.getenv("APP_MODEL_PYTHON", str(BACKEND_DIR / ".venv-models" / ("Scripts/python.exe" if os.name == "nt" else "bin/python"))))