iShare commited on
Commit
2b1deb6
·
1 Parent(s): bdbf5ca

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -23,7 +23,7 @@ chain = load_summarize_chain(llm, chain_type="stuff")
23
 
24
  app = FastAPI()
25
 
26
- @app.post('/')
27
  async def home_api(request: Request):
28
  data = await request.json()
29
  user_query = data['user_question']
 
23
 
24
  app = FastAPI()
25
 
26
+ @app.post('/api/chat')
27
  async def home_api(request: Request):
28
  data = await request.json()
29
  user_query = data['user_question']