robertselvam commited on
Commit
e3c833a
·
verified ·
1 Parent(s): cc64b94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
2
  from langchain_core.messages import HumanMessage
3
  from langchain_core.messages import AIMessage
4
- from langchain.memory import ChatMessageHistory
5
  from pypdf import PdfReader
6
  import os
7
  import gradio as gr
 
1
  from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
2
  from langchain_core.messages import HumanMessage
3
  from langchain_core.messages import AIMessage
4
+ from langchain_community.chat_message_histories import ChatMessageHistory
5
  from pypdf import PdfReader
6
  import os
7
  import gradio as gr