AhsanRazi commited on
Commit
07f68f0
·
verified ·
1 Parent(s): f9380a6

Update company_content_generator.py

Browse files
Files changed (1) hide show
  1. company_content_generator.py +0 -10
company_content_generator.py CHANGED
@@ -5,16 +5,6 @@ from langchain_core.prompts import PromptTemplate
5
  from crawl import marketing_crawling
6
 
7
 
8
- import subprocess
9
-
10
- # Install Playwright browsers
11
- try:
12
- subprocess.run(["playwright", "install", "--with-deps"], check=True)
13
- print("Playwright browsers installed successfully.")
14
- except subprocess.CalledProcessError as e:
15
- print(f"Error installing Playwright browsers: {e}")
16
-
17
-
18
  company_prompt_template = PromptTemplate.from_template("""
19
  # Task
20
  This is the scraped content from the company website. Read this content and extract the key information in an easy-to-read, professional format.
 
5
  from crawl import marketing_crawling
6
 
7
 
 
 
 
 
 
 
 
 
 
 
8
  company_prompt_template = PromptTemplate.from_template("""
9
  # Task
10
  This is the scraped content from the company website. Read this content and extract the key information in an easy-to-read, professional format.