Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +7 -5
src/streamlit_app.py
CHANGED
|
@@ -858,14 +858,16 @@ if st.session_state.show_results:
|
|
| 858 |
# Set a dynamic default title based on the mode
|
| 859 |
default_report_title = f"{'Custom' if st.session_state.is_custom_mode else 'Fixed'} Entity Analysis Report"
|
| 860 |
custom_report_title = st.text_input(
|
| 861 |
-
"Report Title (for HTML Report)",
|
| 862 |
value=default_report_title
|
| 863 |
)
|
| 864 |
|
| 865 |
-
|
| 866 |
-
|
| 867 |
-
|
| 868 |
-
|
|
|
|
|
|
|
| 869 |
)
|
| 870 |
|
| 871 |
# 6. Downloads (Updated to pass custom variables)
|
|
|
|
| 858 |
# Set a dynamic default title based on the mode
|
| 859 |
default_report_title = f"{'Custom' if st.session_state.is_custom_mode else 'Fixed'} Entity Analysis Report"
|
| 860 |
custom_report_title = st.text_input(
|
| 861 |
+
"Type your own Report Title (for HTML Report)",
|
| 862 |
value=default_report_title
|
| 863 |
)
|
| 864 |
|
| 865 |
+
# UPDATED: Simplified input for the user
|
| 866 |
+
custom_branding_text_input = st.text_area(
|
| 867 |
+
"Your Brand Name or Tagline (Appears below the title in the report)",
|
| 868 |
+
value="Analysis powered by My Own Brand", # Removed the technical <p> tag
|
| 869 |
+
key='custom_branding_input',
|
| 870 |
+
help="Enter your brand name or a short tagline. This text will be automatically styled and included below the main title."
|
| 871 |
)
|
| 872 |
|
| 873 |
# 6. Downloads (Updated to pass custom variables)
|