Update main.py
Browse files
main.py
CHANGED
@@ -3,7 +3,7 @@ from pydantic import BaseModel
|
|
3 |
from ctransformers import AutoModelForCausalLM # Ensure correct import for your model
|
4 |
|
5 |
# Model loading
|
6 |
-
llm = AutoModelForCausalLM.from_pretrained("sqlcoder-
|
7 |
|
8 |
# Pydantic object for request validation
|
9 |
class Validation(BaseModel):
|
|
|
3 |
from ctransformers import AutoModelForCausalLM # Ensure correct import for your model
|
4 |
|
5 |
# Model loading
|
6 |
+
llm = AutoModelForCausalLM.from_pretrained("sqlcoder-7b.Q4_K_S.gguf")
|
7 |
|
8 |
# Pydantic object for request validation
|
9 |
class Validation(BaseModel):
|