Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,10 +9,12 @@ from huggingface_hub import hf_hub_download
|
|
| 9 |
|
| 10 |
app = FastAPI()
|
| 11 |
|
| 12 |
-
|
| 13 |
-
model_path=hf_hub_download(
|
| 14 |
repo_id="TheBloke/Mistral-7B-v0.1-GGUF",
|
| 15 |
-
filename="mistral-7b-v0.1.Q4_K_M.gguf")
|
|
|
|
|
|
|
|
|
|
| 16 |
n_ctx=2048,
|
| 17 |
)
|
| 18 |
print("kaki")
|
|
|
|
| 9 |
|
| 10 |
app = FastAPI()
|
| 11 |
|
| 12 |
+
model_path = hf_hub_download(
|
|
|
|
| 13 |
repo_id="TheBloke/Mistral-7B-v0.1-GGUF",
|
| 14 |
+
filename="mistral-7b-v0.1.Q4_K_M.gguf")
|
| 15 |
+
|
| 16 |
+
llm = Llama(
|
| 17 |
+
model_path=model_path,
|
| 18 |
n_ctx=2048,
|
| 19 |
)
|
| 20 |
print("kaki")
|