Spaces:
Running
Running
MarinaPlius
commited on
Commit
•
b4cc323
1
Parent(s):
c61084a
connect model
Browse files
app.py
CHANGED
@@ -17,9 +17,10 @@ rag = RAG(
|
|
17 |
hf_token=os.getenv("HF_TOKEN"),
|
18 |
embeddings_model=os.getenv("EMBEDDINGS"),
|
19 |
repo_name=os.getenv("REPO_NAME"),
|
|
|
20 |
)
|
21 |
|
22 |
-
|
23 |
# rerank_model=os.getenv("RERANK_MODEL"),
|
24 |
# rerank_number_contexts=int(os.getenv("RERANK_NUMBER_CONTEXTS"))
|
25 |
|
|
|
17 |
hf_token=os.getenv("HF_TOKEN"),
|
18 |
embeddings_model=os.getenv("EMBEDDINGS"),
|
19 |
repo_name=os.getenv("REPO_NAME"),
|
20 |
+
model_name=os.getenv("MODEL"),
|
21 |
)
|
22 |
|
23 |
+
|
24 |
# rerank_model=os.getenv("RERANK_MODEL"),
|
25 |
# rerank_number_contexts=int(os.getenv("RERANK_NUMBER_CONTEXTS"))
|
26 |
|