souljoy commited on
Commit
c995ecb
1 Parent(s): bb75b27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def sentiment_analysis_ep(content: Text = None):
44
  return JSONResponse(content=res)
45
 
46
 
47
- @app.post("/chat_pdf")
48
  def chat_pdf_ep(content: Text = None):
49
  url = 'https://api.openai.com/v1/chat/completions'
50
  messages = [
 
44
  return JSONResponse(content=res)
45
 
46
 
47
+ @app.post("/chatpdf")
48
  def chat_pdf_ep(content: Text = None):
49
  url = 'https://api.openai.com/v1/chat/completions'
50
  messages = [