From 8bbdad622f03d34a48cf3ffcaf309fdf6f943439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=8A?= Date: Sun, 6 Apr 2025 17:48:28 +0530 Subject: [PATCH] Update lib/ai_web_researcher/metaphor_basic_neural_web_search.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- lib/ai_web_researcher/metaphor_basic_neural_web_search.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ai_web_researcher/metaphor_basic_neural_web_search.py b/lib/ai_web_researcher/metaphor_basic_neural_web_search.py index 4957b616..36d93a0e 100644 --- a/lib/ai_web_researcher/metaphor_basic_neural_web_search.py +++ b/lib/ai_web_researcher/metaphor_basic_neural_web_search.py @@ -139,8 +139,7 @@ def metaphor_find_similar(similar_url, usecase, num_results=5, start_published_d # Update progress bar for each competitor if st.session_state.get('show_progress', True): progress_text = f"Processing competitor {i+1}/{len(competitors)}: {c.title[:30]}..." - progress_bar = st.progress(0, text=progress_text) - + progress_bar.progress((i / len(competitors)), text=progress_text) titles.append(c.title) urls.append(c.url) all_contents = ""