Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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
|