Revert "fix(settings): 补齐CUDA运行组件下载与安装入口"
This reverts commit c912409343.
This commit is contained in:
@@ -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"))))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user