Spaces:
Running
Running
Fix progress bar for the slides creation step
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def process_slides_contents(text: str, progress_bar: st.progress):
|
|
150 |
output_file_name = f'{session_id}_{timestamp}.pptx'
|
151 |
|
152 |
pptx_helper.generate_powerpoint_presentation(json_str, as_yaml=False, output_file_name=output_file_name)
|
153 |
-
|
154 |
|
155 |
# st.download_button('Download file', binary_contents) # Defaults to 'application/octet-stream'
|
156 |
|
|
|
150 |
output_file_name = f'{session_id}_{timestamp}.pptx'
|
151 |
|
152 |
pptx_helper.generate_powerpoint_presentation(json_str, as_yaml=False, output_file_name=output_file_name)
|
153 |
+
progress_bar.progress(100, text='Done!')
|
154 |
|
155 |
# st.download_button('Download file', binary_contents) # Defaults to 'application/octet-stream'
|
156 |
|