Lim0011 commited on
Commit
cf2c6bc
1 Parent(s): 499b376

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -689,7 +689,7 @@ with gr.Blocks() as app:
689
  global step_index
690
  if_end = False
691
  step_index += 1
692
- if (step_index == len(process_steps)):
693
  step_index = 0
694
  msg = ""
695
  msg = history
 
689
  global step_index
690
  if_end = False
691
  step_index += 1
692
+ if (step_index >= len(process_steps)):
693
  step_index = 0
694
  msg = ""
695
  msg = history