Upload 3 files
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
5 |
app = FastAPI()
|
6 |
|
7 |
# Initialize the text generation pipeline
|
8 |
-
pipe = pipeline("text2text-generation", model="HridaAI/Hrida-T2SQL-3B-128k-V0.1", trust_remote_code=True)
|
9 |
def home():
|
10 |
return {"message": "Hello World"}
|
11 |
|
|
|
5 |
app = FastAPI()
|
6 |
|
7 |
# Initialize the text generation pipeline
|
8 |
+
pipe = pipeline("text2text-generation", model="HridaAI/Hrida-T2SQL-3B-128k-V0.1", trust_remote_code=True)
|
9 |
def home():
|
10 |
return {"message": "Hello World"}
|
11 |
|