Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,9 @@ from transformers import pipeline
|
|
| 4 |
|
| 5 |
from llama_cpp import Llama
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
llm = Llama.from_pretrained(
|
| 8 |
repo_id="hugging-quants/Llama-3.2-1B-Instruct-Q8_0-GGUF",
|
| 9 |
filename="llama-3.2-1b-instruct-q8_0.gguf",
|
|
|
|
| 4 |
|
| 5 |
from llama_cpp import Llama
|
| 6 |
|
| 7 |
+
|
| 8 |
+
app = FastAPI()
|
| 9 |
+
|
| 10 |
llm = Llama.from_pretrained(
|
| 11 |
repo_id="hugging-quants/Llama-3.2-1B-Instruct-Q8_0-GGUF",
|
| 12 |
filename="llama-3.2-1b-instruct-q8_0.gguf",
|