Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline
|
4 |
import chromadb
|
5 |
-
from
|
6 |
from langchain_huggingface import HuggingFaceEmbeddings, HuggingFacePipeline
|
7 |
from langchain.chains import create_retrieval_chain, LLMChain
|
8 |
from langchain.prompts import PromptTemplate
|
|
|
2 |
import torch
|
3 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline
|
4 |
import chromadb
|
5 |
+
from langchain_community.vectorstores import Chroma
|
6 |
from langchain_huggingface import HuggingFaceEmbeddings, HuggingFacePipeline
|
7 |
from langchain.chains import create_retrieval_chain, LLMChain
|
8 |
from langchain.prompts import PromptTemplate
|