Monster commited on
Commit
713d56c
·
1 Parent(s): cd1328b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from huggingface_hub import hf_hub_download
4
 
5
  hf_hub_download(repo_id="LLukas22/gpt4all-lora-quantized-ggjt", filename="ggjt-model.bin", local_dir=".")
6
 
7
- llm = Llama(model_path="./ggjt-model.bin")
8
 
9
  def chat(input):
10
  resp = llm(input)
 
4
 
5
  hf_hub_download(repo_id="LLukas22/gpt4all-lora-quantized-ggjt", filename="ggjt-model.bin", local_dir=".")
6
 
7
+ llm = Llama(model_path="./ggjt-model.bin", n_threads=2)
8
 
9
  def chat(input):
10
  resp = llm(input)