Spaces:
Sleeping
Sleeping
Updating to langchain-community
Browse files- app/server.py +2 -2
app/server.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
from fastapi import FastAPI
|
2 |
from fastapi.responses import RedirectResponse
|
3 |
from langserve import add_routes
|
4 |
-
from
|
5 |
-
from
|
6 |
import os
|
7 |
from langchain.prompts import ChatPromptTemplate
|
8 |
from langchain_core.runnables import RunnablePassthrough, RunnableParallel
|
|
|
1 |
from fastapi import FastAPI
|
2 |
from fastapi.responses import RedirectResponse
|
3 |
from langserve import add_routes
|
4 |
+
from langchain_community.vectorstores import FAISS
|
5 |
+
from langchain_community.llms import HuggingFaceHub
|
6 |
import os
|
7 |
from langchain.prompts import ChatPromptTemplate
|
8 |
from langchain_core.runnables import RunnablePassthrough, RunnableParallel
|