From b4a885c1be0774fec1a84b52cfbb4b53446c64a4 Mon Sep 17 00:00:00 2001 From: Mike Levin Date: Sun, 8 Mar 2026 13:29:52 -0400 Subject: [PATCH] First chisel-strike of getting rid of Google hard-wiring --- assets/nbs/FAQuilizer.ipynb | 2 +- assets/nbs/imports/faq_writer_sauce.py | 5 ++--- assets/nbs/imports/url_inspect_sauce.py | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/assets/nbs/FAQuilizer.ipynb b/assets/nbs/FAQuilizer.ipynb index 9e9e6e88..983c0f45 100644 --- a/assets/nbs/FAQuilizer.ipynb +++ b/assets/nbs/FAQuilizer.ipynb @@ -312,7 +312,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.11" + "version": "3.12.12" } }, "nbformat": 4, diff --git a/assets/nbs/imports/faq_writer_sauce.py b/assets/nbs/imports/faq_writer_sauce.py index bc15efda..fe8ebcd4 100644 --- a/assets/nbs/imports/faq_writer_sauce.py +++ b/assets/nbs/imports/faq_writer_sauce.py @@ -2,7 +2,6 @@ # This module contains the implementation details for a 1-to-many AI enrichment workflow. from pipulate import pip -import google.generativeai as genai import requests from bs4 import BeautifulSoup import pandas as pd @@ -606,11 +605,11 @@ async def generate_visualizations_post_scrape(job: str, verbose: bool = False): base_dir = project_root_notebooks / "browser_cache" # /home/mike/.../Notebooks/browser_cache logger.info(f"Using absolute base_dir: {base_dir}") # Log confirmation - script_path = (Path(__file__).parent / "visualize_dom.py").resolve() + script_path = (Path(__file__).parent / "seo_gadget.py").resolve() if not script_path.exists(): logger.error(f"❌ Cannot find visualization script at: {script_path}") - logger.error(" Please ensure visualize_dom.py is in the Notebooks/ directory.") + logger.error(" Please ensure seo_gadget.py is in the Notebooks/imports/ directory.") return python_executable = sys.executable # Use the same python that runs the notebook diff --git a/assets/nbs/imports/url_inspect_sauce.py b/assets/nbs/imports/url_inspect_sauce.py index 2f78c6ba..981eacb5 100644 --- a/assets/nbs/imports/url_inspect_sauce.py +++ b/assets/nbs/imports/url_inspect_sauce.py @@ -2,7 +2,6 @@ # This module contains the implementation details for a 1-to-many AI enrichment workflow. from pipulate import pip -import google.generativeai as genai import requests from bs4 import BeautifulSoup import pandas as pd