shahabkahn commited on
Commit
04cf615
·
verified ·
1 Parent(s): 57e09f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -149,9 +149,9 @@ async def query(question_request: QuestionRequest):
149
  raise HTTPException(status_code=500, detail="Internal Server Error")
150
 
151
 
152
- @app.get('/')
153
  async def home():
154
- return app()
155
 
156
 
157
  #if __name__ == '__main__':
 
149
  raise HTTPException(status_code=500, detail="Internal Server Error")
150
 
151
 
152
+ @app.get("/")
153
  async def home():
154
+ return JSONResponse(content={"message": "Doctor's Medical Assistant"})
155
 
156
 
157
  #if __name__ == '__main__':