Spaces:
Runtime error
Runtime error
barathm111
commited on
Commit
•
83259c6
1
Parent(s):
784290e
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("
|
9 |
|
10 |
@app.get("/")
|
11 |
def home():
|
|
|
5 |
app = FastAPI()
|
6 |
|
7 |
# Initialize the text generation pipeline
|
8 |
+
pipe = pipeline("text-generation", model="defog/sqlcoder-7b-2")
|
9 |
|
10 |
@app.get("/")
|
11 |
def home():
|