content planning and competitor analysis.

This commit is contained in:
ajaysi
2025-04-06 17:53:18 +05:30
committed by ي
parent 33a608dcdc
commit 5797d031c8

View File

@@ -120,6 +120,7 @@ def metaphor_find_similar(similar_url, usecase, num_results=5, start_published_d
titles = []
urls = []
contents = []
progress_bar = st.progress(0, text="Starting competitor analysis...")
# Extract titles, URLs, and contents from the competitors
for i, c in enumerate(competitors):
@@ -131,6 +132,7 @@ def metaphor_find_similar(similar_url, usecase, num_results=5, start_published_d
titles.append(c.title)
urls.append(c.url)
all_contents = ""
progress_bar.progress(25, text=f"Fetching content for {c.title[:30]}...")
try:
# Update progress
if st.session_state.get('show_progress', True):