wq2012 commited on
Commit
a590dad
·
verified ·
1 Parent(s): 7a7b58f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -9,12 +9,11 @@ description = """
9
  """
10
 
11
  model_path = "models"
12
- # model_name = "model-unsloth.Q4_K_M.gguf"
13
- model_name = "model-unsloth.BF16.gguf"
14
  hf_hub_download(repo_id="google/DiarizationLM-13b-Fisher-v1", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
15
 
16
  print("Start the model init process")
17
- model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
18
  print("Finish the model init process")
19
 
20
  model.config["promptTemplate"] = "{0} --> "
 
9
  """
10
 
11
  model_path = "models"
12
+ model_name = "model-unsloth.Q4_K_M.gguf"
 
13
  hf_hub_download(repo_id="google/DiarizationLM-13b-Fisher-v1", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
14
 
15
  print("Start the model init process")
16
+ model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
17
  print("Finish the model init process")
18
 
19
  model.config["promptTemplate"] = "{0} --> "