Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ import gradio as gr
|
|
4 |
import requests
|
5 |
from huggingface_hub import InferenceClient
|
6 |
from langchain.chains import LLMChain
|
7 |
-
from langchain.prompts import
|
|
|
8 |
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
|
9 |
from langchain.text_splitter import CharacterTextSplitter
|
10 |
from langchain.vectorstores import FAISS
|
|
|
4 |
import requests
|
5 |
from huggingface_hub import InferenceClient
|
6 |
from langchain.chains import LLMChain
|
7 |
+
from langchain.prompts import PromptTemplate
|
8 |
+
from langchain.document_loaders import TextLoader
|
9 |
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
|
10 |
from langchain.text_splitter import CharacterTextSplitter
|
11 |
from langchain.vectorstores import FAISS
|