Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ def reset_user_input():
|
|
152 |
return gr.update(value="")
|
153 |
|
154 |
def reset_state(task_history):
|
155 |
-
print("Reset State - Before: task_history =", task_history
|
156 |
task_history.clear()
|
157 |
print("Reset State - After: task_history =", task_history)
|
158 |
return []
|
|
|
152 |
return gr.update(value="")
|
153 |
|
154 |
def reset_state(task_history):
|
155 |
+
print("Reset State - Before: task_history =", task_history)
|
156 |
task_history.clear()
|
157 |
print("Reset State - After: task_history =", task_history)
|
158 |
return []
|