barunsaha commited on
Commit
6e4a820
1 Parent(s): a30250a

Update logs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -164,7 +164,7 @@ def set_up_chat_ui():
164
  if not _is_valid_prompt(prompt):
165
  return
166
 
167
- logger.info('User input: %s', prompt)
168
  st.chat_message('user').write(prompt)
169
 
170
  user_messages = _get_user_messages()
@@ -233,7 +233,7 @@ def set_up_chat_ui():
233
  response_cleaned = _clean_json(response)
234
 
235
  # Now create the PPT file
236
- progress_bar_pptx.progress(75, 'Creating the slide deck...give it a moment')
237
  generate_slide_deck(response_cleaned)
238
  progress_bar_pptx.progress(100, text='Done!')
239
 
 
164
  if not _is_valid_prompt(prompt):
165
  return
166
 
167
+ logger.info('User input: %s | #characters: %d', prompt, len(prompt))
168
  st.chat_message('user').write(prompt)
169
 
170
  user_messages = _get_user_messages()
 
233
  response_cleaned = _clean_json(response)
234
 
235
  # Now create the PPT file
236
+ progress_bar_pptx.progress(75, 'Creating the slide deck...give it a moment...')
237
  generate_slide_deck(response_cleaned)
238
  progress_bar_pptx.progress(100, text='Done!')
239