Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,10 @@ from langchain.vectorstores import Chroma
|
|
4 |
from transformers import RagTokenizer, RagSequenceForGeneration
|
5 |
from sentence_transformers import SentenceTransformer
|
6 |
|
|
|
|
|
|
|
|
|
7 |
# Initialisierung des Sentence-BERT Modells für die Embeddings
|
8 |
embedding_model = SentenceTransformer('all-MiniLM-L6-v2')
|
9 |
|
|
|
4 |
from transformers import RagTokenizer, RagSequenceForGeneration
|
5 |
from sentence_transformers import SentenceTransformer
|
6 |
|
7 |
+
#Konstanten
|
8 |
+
HF_READ = os.getenv("HF_READ")
|
9 |
+
ANTI_BOT_PW = os.getenv("CORRECT_VALIDATE")
|
10 |
+
|
11 |
# Initialisierung des Sentence-BERT Modells für die Embeddings
|
12 |
embedding_model = SentenceTransformer('all-MiniLM-L6-v2')
|
13 |
|