Skip to content

Commit

Permalink
It was _one_ tab... GitHub Action should finally be happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbartlau committed Jun 20, 2023
1 parent b371bd3 commit c5b7921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def add_sitemap_documents(web_path, filter_urls, parsing_function, chroma_instan
else:
# If it's a web URL, use the SitemapLoader with web_path
sitemap_loader = SitemapLoader(web_path=web_path, filter_urls=filter_urls, parsing_function=parsing_function)

sitemap_loader.session.headers["User-Agent"] = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
add_documents(sitemap_loader, chroma_instance)

Expand Down

0 comments on commit c5b7921

Please sign in to comment.