srijaydeshpande commited on
Commit
77cfc98
·
1 Parent(s): cf5526d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ def pdf_to_text(file):
133
  # model_id = "D:/llama/meta-llama/Meta-Llama-3-8B-Instruct.Q5_K_M.gguf"
134
  # model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=-1, n_batch=64)
135
 
136
- model = GPT4All("Meta-Llama-3-8B-Instruct.Q4_0.gguf", n_threads=8, device='gpu')
137
  model.chat_session()
138
 
139
  # model_id = "D:/llama/meta-llama/Meta-Llama-3-8B-Instruct"
 
133
  # model_id = "D:/llama/meta-llama/Meta-Llama-3-8B-Instruct.Q5_K_M.gguf"
134
  # model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=-1, n_batch=64)
135
 
136
+ model = GPT4All("Meta-Llama-3-8B-Instruct.Q4_0.gguf", n_threads=8, device='auto')
137
  model.chat_session()
138
 
139
  # model_id = "D:/llama/meta-llama/Meta-Llama-3-8B-Instruct"