yashm commited on
Commit
0f008f8
·
verified ·
1 Parent(s): 45bba28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -58,14 +58,14 @@ st.sidebar.title('Presentation Settings')
58
  presentation_type = st.sidebar.selectbox('Select Presentation Type', ['Research Presentation', 'Proposal Defense'])
59
  selected_template = templates[presentation_type]
60
 
61
- # Title slide configuration
62
- st.sidebar.header("Title Slide")
63
- title_slide_info = {
64
- 'title': st.sidebar.text_input("Title", "Your Presentation Title"),
65
- 'subtitle': st.sidebar.text_input("Subtitle", "Your Name"),
66
- 'institution': st.sidebar.text_input("Institution", "Your Institution"),
67
- 'date': st.sidebar.text_input("Date", "Presentation Date")
68
- }
69
 
70
  # Maintain session state for dynamically added sections
71
  if 'sections' not in st.session_state:
 
58
  presentation_type = st.sidebar.selectbox('Select Presentation Type', ['Research Presentation', 'Proposal Defense'])
59
  selected_template = templates[presentation_type]
60
 
61
+ # Title slide configuration with expander
62
+ with st.sidebar.expander("Title Slide Options", expanded=False):
63
+ title_slide_info = {
64
+ 'title': st.text_input("Title", "Your Presentation Title"),
65
+ 'subtitle': st.text_input("Subtitle", "Your Name"),
66
+ 'institution': st.text_input("Institution", "Your Institution"),
67
+ 'date': st.text_input("Date", "Presentation Date")
68
+ }
69
 
70
  # Maintain session state for dynamically added sections
71
  if 'sections' not in st.session_state: