jsakshi commited on
Commit
391bde9
·
verified ·
1 Parent(s): cf64133

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -362,7 +362,7 @@ HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
362
  def generate_blog_content(topic):
363
  try:
364
  prompt = f"""Create a detailed, professional blog post about {topic} including:
365
- - A compelling title and subtitle but dont print this prompt in my website
366
  - An introduction
367
  - 3 main sections with descriptive headings
368
  - Key points and data examples in each section
@@ -701,7 +701,6 @@ def create_hosted_blog(topic):
701
  <div class="container">
702
  <div class="blog-header">
703
  <h1 class="blog-title">{title}</h1>
704
- <p class="blog-subtitle">{subtitle}</p>
705
  <div class="blog-meta">
706
  <div>Published: {current_date}</div>
707
  <div>Reading time: 8 minutes</div>
 
362
  def generate_blog_content(topic):
363
  try:
364
  prompt = f"""Create a detailed, professional blog post about {topic} including:
365
+ - A compelling title and subtitle
366
  - An introduction
367
  - 3 main sections with descriptive headings
368
  - Key points and data examples in each section
 
701
  <div class="container">
702
  <div class="blog-header">
703
  <h1 class="blog-title">{title}</h1>
 
704
  <div class="blog-meta">
705
  <div>Published: {current_date}</div>
706
  <div>Reading time: 8 minutes</div>