harshpatel080503 commited on
Commit
14b0306
·
verified ·
1 Parent(s): 1e46ed7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -21,6 +21,10 @@ app.add_middleware(
21
  # In-memory session storage
22
  chat_sessions = {}
23
 
 
 
 
 
24
  @app.post("/init")
25
  def initialize_chat(req: InitChatRequest):
26
  try:
 
21
  # In-memory session storage
22
  chat_sessions = {}
23
 
24
+ @app.get("/")
25
+ def root():
26
+ return {"message": "API is running"}
27
+
28
  @app.post("/init")
29
  def initialize_chat(req: InitChatRequest):
30
  try: