Spaces:
Runtime error
Runtime error
Update functions.py
Browse files- functions.py +4 -0
functions.py
CHANGED
|
@@ -135,6 +135,10 @@ def generate_all_sections(data):
|
|
| 135 |
|
| 136 |
# Store the generated content
|
| 137 |
sections_content[section_name] = section_content
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
|
| 139 |
return sections_content
|
| 140 |
|
|
|
|
| 135 |
|
| 136 |
# Store the generated content
|
| 137 |
sections_content[section_name] = section_content
|
| 138 |
+
# Display the generated content in Streamlit dynamically
|
| 139 |
+
st.subheader(section_name) # Show the section title
|
| 140 |
+
st.write(section_content) # Show the section content as it is generated
|
| 141 |
+
|
| 142 |
|
| 143 |
return sections_content
|
| 144 |
|