ffreemt commited on
Commit
ef2364b
·
1 Parent(s): c9772a1

Update progressbar

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -356,7 +356,7 @@ def process_files(
356
  )
357
 
358
  # for text in progress.tqdm(
359
- for text in tqdm(
360
  mit.chunked_even(texts, 101),
361
  total=ceil(len(texts) / 101),
362
  desc="Processing docs",
@@ -664,7 +664,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
664
  logger.info("Done loading qa, need to do just one time.")
665
  # """
666
  if ns.qa is None:
667
- bot_message = "Looks like the bot is not ready. " "Try again later..."
668
  chat_history.append((message, bot_message))
669
  return "", chat_history
670
 
 
356
  )
357
 
358
  # for text in progress.tqdm(
359
+ for text in progress.tqdm(
360
  mit.chunked_even(texts, 101),
361
  total=ceil(len(texts) / 101),
362
  desc="Processing docs",
 
664
  logger.info("Done loading qa, need to do just one time.")
665
  # """
666
  if ns.qa is None:
667
+ bot_message = "Looks like the bot is not ready. Try again later..."
668
  chat_history.append((message, bot_message))
669
  return "", chat_history
670