errchh
commited on
Commit
Β·
fbd7eda
1
Parent(s):
d0faccd
fix agent to app import
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π΅π»ββοΈ
|
4 |
colorFrom: indigo
|
5 |
colorTo: indigo
|
@@ -12,4 +12,4 @@ hf_oauth: true
|
|
12 |
hf_oauth_expiration_minutes: 480
|
13 |
---
|
14 |
|
15 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: HF Agents Course Final Assignment
|
3 |
emoji: π΅π»ββοΈ
|
4 |
colorFrom: indigo
|
5 |
colorTo: indigo
|
|
|
12 |
hf_oauth_expiration_minutes: 480
|
13 |
---
|
14 |
|
15 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
agent.py
CHANGED
@@ -123,7 +123,7 @@ def search_arxiv(query: str) -> Dict[str, str]:
|
|
123 |
|
124 |
|
125 |
# build retriever
|
126 |
-
bm25_retriever = BM25Retriever.from_documents(docs)
|
127 |
|
128 |
|
129 |
# load system prompt from file
|
|
|
123 |
|
124 |
|
125 |
# build retriever
|
126 |
+
# bm25_retriever = BM25Retriever.from_documents(docs)
|
127 |
|
128 |
|
129 |
# load system prompt from file
|