Spaces:
NLPark
/
Runtime error

Severian commited on
Commit
dbde5f6
1 Parent(s): aa8b4ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ model_name = "anima-phi-neptune-mistral-7b.Q4_K_M.gguf"
13
  hf_hub_download(repo_id="Severian/ANIMA-Phi-Neptune-Mistral-7B-gguf", filename=model_name, local_dir=model_path, local_dir_use_symlinks=True)
14
 
15
  print("Start the model init process")
16
- model = model = GPT4All(model_name, model_path, allow_download = True, device="gpu")
17
  print("Finish the model init process")
18
 
19
  model.config["promptTemplate"] = "[INST] {0} [/INST]"
 
13
  hf_hub_download(repo_id="Severian/ANIMA-Phi-Neptune-Mistral-7B-gguf", filename=model_name, local_dir=model_path, local_dir_use_symlinks=True)
14
 
15
  print("Start the model init process")
16
+ model = model = GPT4All(model_name, model_path, allow_download = True, device="cpu")
17
  print("Finish the model init process")
18
 
19
  model.config["promptTemplate"] = "[INST] {0} [/INST]"