Upload 3 files
Browse files
app.py
CHANGED
|
@@ -5,8 +5,7 @@ from transformers import pipeline
|
|
| 5 |
app = FastAPI()
|
| 6 |
|
| 7 |
# Initialize the text generation pipeline
|
| 8 |
-
pipe = pipeline("text2text-generation", model="
|
| 9 |
-
@app.get("/")
|
| 10 |
def home():
|
| 11 |
return {"message": "Hello World"}
|
| 12 |
|
|
|
|
| 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) @app.get("/")
|
|
|
|
| 9 |
def home():
|
| 10 |
return {"message": "Hello World"}
|
| 11 |
|