Commit ·
fb969c5
1
Parent(s): b0aa4f7
Update app.py
Browse files
app.py
CHANGED
|
@@ -130,8 +130,8 @@ def pdf_to_text(file):
|
|
| 130 |
file.write(html)
|
| 131 |
return html
|
| 132 |
|
| 133 |
-
model_id = "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=32, n_batch=64)
|
| 135 |
|
| 136 |
# model = GPT4All("Meta-Llama-3-8B-Instruct.Q4_0.gguf", n_threads=8, device='gpu')
|
| 137 |
# model.chat_session()
|
|
|
|
| 130 |
file.write(html)
|
| 131 |
return html
|
| 132 |
|
| 133 |
+
# model_id = "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=32, n_batch=64)
|
| 135 |
|
| 136 |
# model = GPT4All("Meta-Llama-3-8B-Instruct.Q4_0.gguf", n_threads=8, device='gpu')
|
| 137 |
# model.chat_session()
|