AIEcosystem commited on
Commit
9be4c46
·
verified ·
1 Parent(s): 897b9b6

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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
- custom_branding_text = st.text_area(
866
- "Custom Branding Text/HTML (Appears below title in report)",
867
- value="<p>Analysis powered by **My Own Brand**.</p>",
868
- help="You can use basic HTML tags like <p>, <b>, <i>, and <a href='...'>. This replaces the default branding."
 
 
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)