mabbas125 commited on
Commit
dc7e00e
·
verified ·
1 Parent(s): cd6b4ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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):