Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ if st.button("Generate Blog Post"):
|
|
| 71 |
if topic:
|
| 72 |
with st.spinner("Generating blog post..."):
|
| 73 |
# Generate the blog post
|
| 74 |
-
blog_post = blog_chain.
|
| 75 |
|
| 76 |
# Add author name if provided
|
| 77 |
if author_name:
|
|
|
|
| 71 |
if topic:
|
| 72 |
with st.spinner("Generating blog post..."):
|
| 73 |
# Generate the blog post
|
| 74 |
+
blog_post = blog_chain.invoke({"topic": topic})
|
| 75 |
|
| 76 |
# Add author name if provided
|
| 77 |
if author_name:
|