Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ with gr.Blocks() as demo:
|
|
| 51 |
|
| 52 |
# Define the behavior of the submit button
|
| 53 |
def submit_click(input, history):
|
| 54 |
-
nonlocal current_state
|
| 55 |
history, current_state = respond(input, history, current_state)
|
| 56 |
return history
|
| 57 |
|
|
|
|
| 51 |
|
| 52 |
# Define the behavior of the submit button
|
| 53 |
def submit_click(input, history):
|
| 54 |
+
#nonlocal current_state
|
| 55 |
history, current_state = respond(input, history, current_state)
|
| 56 |
return history
|
| 57 |
|