Add local LLM console runner
This commit is contained in:
1 parent
afa8f3780f
commit
f186af3387
2 files changed
+99
No files matched your search
@@ -0,0 +1,10 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User")
|
||||
|
||||
if (-not (Test-Path ".\.venv\Scripts\python.exe")) {
|
||||
python -m venv .venv
|
||||
}
|
||||
|
||||
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
|
||||
.\.venv\Scripts\python.exe .\local_llm_chat.py
|
||||
Reference in new issue
Block a user