Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,6 +73,9 @@ CREATE TABLE user_otps (
|
|
73 |
class QuestionRequest(BaseModel):
|
74 |
question: str
|
75 |
|
|
|
|
|
|
|
76 |
|
77 |
@app.post('/generate-sql')
|
78 |
async def generate_sql(request: QuestionRequest):
|
|
|
73 |
class QuestionRequest(BaseModel):
|
74 |
question: str
|
75 |
|
76 |
+
@app.get("/")
|
77 |
+
async def root():
|
78 |
+
return{"message":"Hello, World!"}
|
79 |
|
80 |
@app.post('/generate-sql')
|
81 |
async def generate_sql(request: QuestionRequest):
|