barunsaha commited on
Commit
af2cdcc
1 Parent(s): 3e68ccf

Fix progress bar for the slides creation step

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- st.progress(100, text='Done!')
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