mery22 commited on
Commit
55a8b20
1 Parent(s): 8f64959

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -7,14 +7,12 @@ from transformers import (
7
  pipeline
8
  )
9
  import streamlit as st
10
-
11
- from transformers import BitsAndBytesConfig
12
- from langchain.embeddings.huggingface import HuggingFaceEmbeddings
13
- from langchain.vectorstores import FAISS
14
 
15
  from langchain.prompts import PromptTemplate
16
  from langchain.schema.runnable import RunnablePassthrough
17
- from langchain.llms import HuggingFacePipeline
18
  from langchain.chains import LLMChain
19
  import transformers
20
 
 
7
  pipeline
8
  )
9
  import streamlit as st
10
+ from langchain_community.vectorstores import FAISS
11
+ from langchain_community.embeddings import HuggingFaceEmbeddings
12
+ from langchain_community.llms import HuggingFacePipelinefrom transformers import BitsAndBytesConfig
 
13
 
14
  from langchain.prompts import PromptTemplate
15
  from langchain.schema.runnable import RunnablePassthrough
 
16
  from langchain.chains import LLMChain
17
  import transformers
18