Update app.py
Browse files
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
|
| 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>
|