abhinand commited on
Commit
a06a9ee
1 Parent(s): 3363af6

adding model download code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ description = """
12
 
13
  model_path = "models"
14
  model_name = "tamil-llama-7b-v0.1-q5_k_m.gguf"
15
- # hf_hub_download(repo_id="abhinand/tamil-llama-7b-instruct-v0.1-gguf", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
16
 
17
  print("Start the model init process")
18
  model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
 
12
 
13
  model_path = "models"
14
  model_name = "tamil-llama-7b-v0.1-q5_k_m.gguf"
15
+ hf_hub_download(repo_id="abhinand/tamil-llama-7b-instruct-v0.1-gguf", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
16
 
17
  print("Start the model init process")
18
  model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")