From 41855ab504999b8a46351111c5875e0e97751153 Mon Sep 17 00:00:00 2001 From: manhphim Date: Mon, 14 Oct 2024 14:32:05 +0200 Subject: [PATCH] fix: issue #528 --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 1399f13de..1f86f0376 100644 --- a/main.py +++ b/main.py @@ -8,7 +8,7 @@ from selenium.webdriver.chrome.service import Service as ChromeService from webdriver_manager.chrome import ChromeDriverManager from selenium.common.exceptions import WebDriverException -from lib_resume_builder_AIHawk import Resume, FacadeManager, ResumeGenerator +from lib_resume_builder_AIHawk import Resume, FacadeManager, ResumeGenerator, StyleManager from src.utils import chrome_browser_options from src.llm.llm_manager import GPTAnswerer from src.aihawk_authenticator import AIHawkAuthenticator @@ -158,7 +158,7 @@ def init_browser() -> webdriver.Chrome: def create_and_run_bot(parameters, llm_api_key): try: - style_manager = FacadeManager.StyleManager() + style_manager = StyleManager() resume_generator = ResumeGenerator() with open(parameters['uploads']['plainTextResume'], "r", encoding='utf-8') as file: plain_text_resume = file.read()