Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -369,7 +369,7 @@ def generate_html_report(df, text_input, elapsed_time, df_topic_data, entity_col
|
|
| 369 |
<p><strong>Generated on:</strong> {time.strftime('%Y-%m-%d')}</p>
|
| 370 |
<p><strong>Processing Time:</strong> {elapsed_time:.2f} seconds</p>
|
| 371 |
</div>
|
| 372 |
-
<h2>
|
| 373 |
<h3>Original Text with Highlighted Entities</h3>
|
| 374 |
<div class="highlighted-text-container">
|
| 375 |
{highlighted_text_html}
|
|
@@ -685,7 +685,7 @@ if st.session_state.show_results:
|
|
| 685 |
if df.empty:
|
| 686 |
st.warning("No entities were found in the provided text with the current label set.")
|
| 687 |
else:
|
| 688 |
-
st.subheader("Analysis Results", divider="blue")
|
| 689 |
|
| 690 |
|
| 691 |
|
|
|
|
| 369 |
<p><strong>Generated on:</strong> {time.strftime('%Y-%m-%d')}</p>
|
| 370 |
<p><strong>Processing Time:</strong> {elapsed_time:.2f} seconds</p>
|
| 371 |
</div>
|
| 372 |
+
<h2>Analyzed Text & Extracted Entities</h2>
|
| 373 |
<h3>Original Text with Highlighted Entities</h3>
|
| 374 |
<div class="highlighted-text-container">
|
| 375 |
{highlighted_text_html}
|
|
|
|
| 685 |
if df.empty:
|
| 686 |
st.warning("No entities were found in the provided text with the current label set.")
|
| 687 |
else:
|
| 688 |
+
st.subheader("1. Analysis Results", divider="blue")
|
| 689 |
|
| 690 |
|
| 691 |
|