Spaces:
Runtime error
Runtime error
ferferefer
commited on
Commit
•
7d06188
1
Parent(s):
442604d
879
Browse files- app.py +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
|
4 |
-
from
|
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 |
-
|
9 |
-
|
|
|
|
5 |
langchain
|
6 |
chromadb
|
7 |
sentence-transformers
|
8 |
+
langchain_community
|
9 |
+
langchain-huggingface
|
10 |
+
langchain-chroma
|