ferferefer commited on
Commit
7d06188
1 Parent(s): 442604d
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +3 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
- from langchain.vectorstores import Chroma
4
- from langchain.embeddings import HuggingFaceEmbeddings
5
  import os
6
  import torch
7
 
 
1
  import gradio as gr
2
  from transformers import pipeline
3
+ from langchain_community.vectorstores import Chroma
4
+ from langchain_huggingface import HuggingFaceEmbeddings
5
  import os
6
  import torch
7
 
requirements.txt CHANGED
@@ -5,5 +5,6 @@ accelerate
5
  langchain
6
  chromadb
7
  sentence-transformers
8
- torch
9
- langchain_community
 
 
5
  langchain
6
  chromadb
7
  sentence-transformers
8
+ langchain_community
9
+ langchain-huggingface
10
+ langchain-chroma