Spaces:
Build error
Build error
Romeo David commited on
Commit ·
a8e81ac
1
Parent(s): b438494
added indicator of completion
Browse files- pages/analyzing_page.py +6 -1
pages/analyzing_page.py
CHANGED
|
@@ -82,6 +82,11 @@ def run_analysis():
|
|
| 82 |
on_page_thread.join()
|
| 83 |
website_and_tools_thread.join()
|
| 84 |
seo_thread.join()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
# Execute the analysis
|
| 87 |
-
run_analysis()
|
|
|
|
| 82 |
on_page_thread.join()
|
| 83 |
website_and_tools_thread.join()
|
| 84 |
seo_thread.join()
|
| 85 |
+
st.success("🎉 All analyses completed!") # Final success message
|
| 86 |
+
# --- Display Button After Completion ---
|
| 87 |
+
if st.button("View Results"):
|
| 88 |
+
st.switch_page("pages/home.py")
|
| 89 |
+
|
| 90 |
|
| 91 |
# Execute the analysis
|
| 92 |
+
run_analysis()
|