pratikshahp commited on
Commit
284e9d5
·
verified ·
1 Parent(s): c5985db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.run({"topic": topic})
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: