Spaces:
Running
Running
Fix unnecessary white space in document metadata section
Browse files- Removed extra div margin that was creating whitespace
- Modified success message display to use more compact format
- Eliminated redundant container wrapping for the success message
app.py
CHANGED
@@ -958,10 +958,8 @@ with main_tab1:
|
|
958 |
# Empty container for progress indicators - will be filled during processing
|
959 |
progress_placeholder = st.empty()
|
960 |
|
961 |
-
#
|
962 |
-
|
963 |
-
|
964 |
-
# Container for document metadata (will be filled after processing)
|
965 |
metadata_placeholder = st.empty()
|
966 |
|
967 |
# Results section
|
@@ -1564,9 +1562,8 @@ with main_tab1:
|
|
1564 |
# Close document content div
|
1565 |
st.markdown('</div>', unsafe_allow_html=True)
|
1566 |
|
1567 |
-
#
|
1568 |
-
|
1569 |
-
st.success("**Document processed successfully**")
|
1570 |
|
1571 |
# Store the result in the previous results list
|
1572 |
# Add timestamp to result for history tracking
|
|
|
958 |
# Empty container for progress indicators - will be filled during processing
|
959 |
progress_placeholder = st.empty()
|
960 |
|
961 |
+
# Container for success message (will be filled after processing)
|
962 |
+
# No extra spacing needed as it will be managed programmatically
|
|
|
|
|
963 |
metadata_placeholder = st.empty()
|
964 |
|
965 |
# Results section
|
|
|
1562 |
# Close document content div
|
1563 |
st.markdown('</div>', unsafe_allow_html=True)
|
1564 |
|
1565 |
+
# Show a compact success message without extra container space
|
1566 |
+
metadata_placeholder.success("**Document processed successfully**")
|
|
|
1567 |
|
1568 |
# Store the result in the previous results list
|
1569 |
# Add timestamp to result for history tracking
|