Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- web_app/app.py +4 -3
web_app/app.py
CHANGED
|
@@ -328,7 +328,8 @@ st.markdown("<br>", unsafe_allow_html=True)
|
|
| 328 |
start_btn = st.button("Begin Financial Scrape & Analysis")
|
| 329 |
st.markdown("</div>", unsafe_allow_html=True)
|
| 330 |
|
| 331 |
-
|
|
|
|
| 332 |
metrics_container = st.empty()
|
| 333 |
download_container = st.empty()
|
| 334 |
|
|
@@ -395,8 +396,8 @@ if start_btn:
|
|
| 395 |
|
| 396 |
if not failed_validation:
|
| 397 |
try:
|
| 398 |
-
progress_bar =
|
| 399 |
-
with
|
| 400 |
def log_fn(msg):
|
| 401 |
status_box.write(msg)
|
| 402 |
|
|
|
|
| 328 |
start_btn = st.button("Begin Financial Scrape & Analysis")
|
| 329 |
st.markdown("</div>", unsafe_allow_html=True)
|
| 330 |
|
| 331 |
+
progress_bar_container = st.empty()
|
| 332 |
+
status_container = st.empty()
|
| 333 |
metrics_container = st.empty()
|
| 334 |
download_container = st.empty()
|
| 335 |
|
|
|
|
| 396 |
|
| 397 |
if not failed_validation:
|
| 398 |
try:
|
| 399 |
+
progress_bar = progress_bar_container.progress(0, text="Initializing analysis...")
|
| 400 |
+
with status_container.status("Analysis Execution Status", expanded=True) as status_box:
|
| 401 |
def log_fn(msg):
|
| 402 |
status_box.write(msg)
|
| 403 |
|