Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ def get_response(message, history=[]):
|
|
184 |
# Index URLs on app startup
|
185 |
@app.on_event("startup")
|
186 |
async def startup():
|
187 |
-
domain_url = 'https://www.
|
188 |
links = get_all_links_from_domain(domain_url)
|
189 |
retriever_chain = index_urls_in_rag(links)
|
190 |
retriever_chain.invoke("Was ist bofrost*")
|
|
|
184 |
# Index URLs on app startup
|
185 |
@app.on_event("startup")
|
186 |
async def startup():
|
187 |
+
domain_url = 'https://www.w3schools.com/python/ref_func_len.asp'
|
188 |
links = get_all_links_from_domain(domain_url)
|
189 |
retriever_chain = index_urls_in_rag(links)
|
190 |
retriever_chain.invoke("Was ist bofrost*")
|