Commit
•
594e43a
1
Parent(s):
3d19e0f
Update main.py
Browse files
main.py
CHANGED
@@ -16,7 +16,8 @@ from pydantic import BaseModel
|
|
16 |
|
17 |
llm = AutoModelForCausalLM.from_pretrained("TheBloke/WizardCoder-15B-1.0-GGML",
|
18 |
model_file="WizardCoder-15B-1.0.ggmlv3.q4_0.bin",
|
19 |
-
model_type="starcoder"
|
|
|
20 |
app = fastapi.FastAPI(title="🪄WizardCoder💫")
|
21 |
app.add_middleware(
|
22 |
CORSMiddleware,
|
|
|
16 |
|
17 |
llm = AutoModelForCausalLM.from_pretrained("TheBloke/WizardCoder-15B-1.0-GGML",
|
18 |
model_file="WizardCoder-15B-1.0.ggmlv3.q4_0.bin",
|
19 |
+
model_type="starcoder",
|
20 |
+
stream="True")
|
21 |
app = fastapi.FastAPI(title="🪄WizardCoder💫")
|
22 |
app.add_middleware(
|
23 |
CORSMiddleware,
|