Spaces:
Sleeping
Sleeping
Commit ·
fa4905c
1
Parent(s): b37b83c
Change to app.py
Browse files- .gitignore +4 -0
- app.py +1 -1
- chroma_db/8999245b-84e2-4058-96cb-5c400590d977/link_lists.bin +0 -3
.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.env
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
venv/
|
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def get_embedding_function():
|
|
| 45 |
return embedddings
|
| 46 |
|
| 47 |
|
| 48 |
-
client = InferenceClient("
|
| 49 |
|
| 50 |
def query_rag(query: str, top_k: int = 5):
|
| 51 |
"""
|
|
|
|
| 45 |
return embedddings
|
| 46 |
|
| 47 |
|
| 48 |
+
client = InferenceClient(provider="nebius", model="microsoft/phi-4", token=os.getenv("ACCESS_TOKEN"))
|
| 49 |
|
| 50 |
def query_rag(query: str, top_k: int = 5):
|
| 51 |
"""
|
chroma_db/8999245b-84e2-4058-96cb-5c400590d977/link_lists.bin
CHANGED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
| 3 |
-
size 0
|
|
|
|
|
|
|
|
|
|
|
|