Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,6 @@ async def query(request: QueryRequest):
|
|
| 115 |
return {"response": response.response}
|
| 116 |
|
| 117 |
@app.get("/chat-history/")
|
| 118 |
-
app.add_middleware(HTTPSRedirectMiddleware)
|
| 119 |
async def get_chat_history():
|
| 120 |
return {"chat_history": state['chat_history']}
|
| 121 |
|
|
|
|
| 115 |
return {"response": response.response}
|
| 116 |
|
| 117 |
@app.get("/chat-history/")
|
|
|
|
| 118 |
async def get_chat_history():
|
| 119 |
return {"chat_history": state['chat_history']}
|
| 120 |
|