Adityashriv commited on
Commit
c2e4280
·
verified ·
1 Parent(s): c6b183e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -212,6 +212,9 @@ def chain(input_text: str = Query(..., description="Enter your question")):
212
  except Exception as e:
213
  raise HTTPException(status_code=500, detail=str(e))
214
 
 
 
 
215
  # if __name__ == "__main__":
216
 
217
  # questions=[ "famous places to visit in india","what is the elligibility criteria to get green card in usa"]
 
212
  except Exception as e:
213
  raise HTTPException(status_code=500, detail=str(e))
214
 
215
+ @app.get("/")
216
+ def root():
217
+ return {"message": "API is running successfully"}
218
  # if __name__ == "__main__":
219
 
220
  # questions=[ "famous places to visit in india","what is the elligibility criteria to get green card in usa"]