kadsai commited on
Commit
e3c97b8
·
verified ·
1 Parent(s): 7d6d0a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -391,7 +391,7 @@ class ChatRequest(BaseModel):
391
  top_p: float = 1.0
392
 
393
  # -- Chatbot
394
- @app_api.post("/chat")
395
  async def chat(request: ChatRequest,api_key: str = Security(validate_api_key)):
396
  try:
397
  response = respond(
 
391
  top_p: float = 1.0
392
 
393
  # -- Chatbot
394
+ @app_api.post("/chatbot")
395
  async def chat(request: ChatRequest,api_key: str = Security(validate_api_key)):
396
  try:
397
  response = respond(