Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -689,6 +689,9 @@ with gr.Blocks() as app:
|
|
689 |
global step_index
|
690 |
if_end = False
|
691 |
step_index += 1
|
|
|
|
|
|
|
692 |
msg = history
|
693 |
if step_index < len(process_steps):
|
694 |
msg += previous_response + "\nUser feedback:" + user_feedback +"\n\n"
|
|
|
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
|
696 |
if step_index < len(process_steps):
|
697 |
msg += previous_response + "\nUser feedback:" + user_feedback +"\n\n"
|