idea123 commited on
Commit
a1c7a27
1 Parent(s): fd9d69a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 PromptTemplatefrom langchain.document_loaders import TextLoader
 
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