Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from llama_cpp import Llama
|
| 3 |
|
| 4 |
# Point to the model file. If you've uploaded it in your Space repo, it should be in the repo root.
|
| 5 |
-
model_path = "mysqlmodel/
|
| 6 |
|
| 7 |
# Initialize the model. Adjust parameters (like n_ctx) as needed.
|
| 8 |
llm = Llama(model_path=model_path, n_ctx=2048)
|
|
|
|
| 2 |
from llama_cpp import Llama
|
| 3 |
|
| 4 |
# Point to the model file. If you've uploaded it in your Space repo, it should be in the repo root.
|
| 5 |
+
model_path = "mysqlmodel/mysqlmodel.gguf"
|
| 6 |
|
| 7 |
# Initialize the model. Adjust parameters (like n_ctx) as needed.
|
| 8 |
llm = Llama(model_path=model_path, n_ctx=2048)
|