errchh commited on
Commit
fbd7eda
Β·
1 Parent(s): d0faccd

fix agent to app import

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. agent.py +1 -1
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Template Final Assignment
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