Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -229,36 +229,36 @@ def main():
|
|
229 |
else:
|
230 |
st.warning("Plesase Process RFP Details to access this feature", icon="⚠️")
|
231 |
|
232 |
-
if menu_choice == "Proposal":
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
|
263 |
|
264 |
if __name__ == "__main__":
|
|
|
229 |
else:
|
230 |
st.warning("Plesase Process RFP Details to access this feature", icon="⚠️")
|
231 |
|
232 |
+
# if menu_choice == "Proposal":
|
233 |
+
# if st.session_state["is_data_processed"] == True:
|
234 |
+
# if st.session_state["is_user_stories_created"] == True:
|
235 |
+
# st.title("Proposal")
|
236 |
+
# num_slides = st.number_input(
|
237 |
+
# "Enter the number of slides", min_value=1, max_value=20, value=None
|
238 |
+
# )
|
239 |
+
# if num_slides:
|
240 |
+
# st.button(
|
241 |
+
# "Generate Presentation", on_click=lambda: prop(num_slides)
|
242 |
+
# )
|
243 |
|
244 |
+
# if st.session_state["is_presentation_created"] == True:
|
245 |
+
# st.success("Presentation Created!", icon="✅")
|
246 |
+
# with open("Generated_Presentation.pptx", "rb") as pptx_file:
|
247 |
+
# pptx_bytes = pptx_file.read()
|
248 |
+
# st.download_button(
|
249 |
+
# label="Download Presentation",
|
250 |
+
# data=pptx_bytes,
|
251 |
+
# file_name="Generated_Presentation_from_code.pptx",
|
252 |
+
# mime="application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
253 |
+
# )
|
254 |
|
255 |
+
# else:
|
256 |
+
# st.warning(
|
257 |
+
# "Please Process the User Stories Data to access this feature",
|
258 |
+
# icon="⚠️",
|
259 |
+
# )
|
260 |
+
# else:
|
261 |
+
# st.warning("Plesase Process RFP Details to access this feature", icon="⚠️")
|
262 |
|
263 |
|
264 |
if __name__ == "__main__":
|