Spaces:
Running
Running
sdk new version
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 💻
|
|
4 |
colorFrom: green
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: green
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.36.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
app.py
CHANGED
@@ -26,10 +26,8 @@ from langchain.chains import (
|
|
26 |
from langchain.vectorstores import Chroma
|
27 |
from langchain.memory import ConversationBufferMemory
|
28 |
from langchain.chains import LLMChain
|
29 |
-
from langchain.prompts.prompt import PromptTemplate
|
30 |
from langchain.prompts.chat import ChatPromptTemplate, SystemMessagePromptTemplate
|
31 |
from langchain.prompts import SystemMessagePromptTemplate, HumanMessagePromptTemplate, ChatPromptTemplate, MessagesPlaceholder
|
32 |
-
from langchain.document_loaders import PyPDFDirectoryLoader
|
33 |
from langchain.output_parsers import PydanticOutputParser
|
34 |
from langchain_community.llms import HuggingFaceHub
|
35 |
from langchain_community.document_loaders import WebBaseLoader
|
|
|
26 |
from langchain.vectorstores import Chroma
|
27 |
from langchain.memory import ConversationBufferMemory
|
28 |
from langchain.chains import LLMChain
|
|
|
29 |
from langchain.prompts.chat import ChatPromptTemplate, SystemMessagePromptTemplate
|
30 |
from langchain.prompts import SystemMessagePromptTemplate, HumanMessagePromptTemplate, ChatPromptTemplate, MessagesPlaceholder
|
|
|
31 |
from langchain.output_parsers import PydanticOutputParser
|
32 |
from langchain_community.llms import HuggingFaceHub
|
33 |
from langchain_community.document_loaders import WebBaseLoader
|