sujalrajpoot commited on
Commit
56c8a54
·
verified ·
1 Parent(s): 3d77054

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def generate_response(query:str) -> str:
62
  return f"API Server is under maintenance. Please Try After Some Time Thank You for using TrueSyncAI Chat API. Have a great day."
63
 
64
  # Chat Endpoint
65
- @app.route("/chat", methods=["POST"])
66
  def chat():
67
  global request_count
68
  data = request.json
 
62
  return f"API Server is under maintenance. Please Try After Some Time Thank You for using TrueSyncAI Chat API. Have a great day."
63
 
64
  # Chat Endpoint
65
+ @app.route("/v1/chat/completions", methods=["POST"])
66
  def chat():
67
  global request_count
68
  data = request.json