Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,9 @@ app = Flask(__name__)
|
|
| 6 |
# This model uses ~9GB of your 16GB RAM
|
| 7 |
print("Loading model... this usually takes 5-10 minutes on the first run.")
|
| 8 |
llm = Llama.from_pretrained(
|
| 9 |
-
|
| 10 |
-
|
|
|
|
| 11 |
n_ctx=4096,
|
| 12 |
n_threads=2
|
| 13 |
)
|
|
|
|
| 6 |
# This model uses ~9GB of your 16GB RAM
|
| 7 |
print("Loading model... this usually takes 5-10 minutes on the first run.")
|
| 8 |
llm = Llama.from_pretrained(
|
| 9 |
+
# THE FIX: Pointing to the real Qwen 2.5 repository and filename
|
| 10 |
+
repo_id="bartowski/Qwen2.5-Coder-14B-Instruct-GGUF",
|
| 11 |
+
filename="Qwen2.5-Coder-14B-Instruct-Q4_K_M.gguf",
|
| 12 |
n_ctx=4096,
|
| 13 |
n_threads=2
|
| 14 |
)
|