Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 63 |
-
title_slide_info = {
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 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:
|