HaveAI commited on
Commit
c0ebeed
·
verified ·
1 Parent(s): e15b3ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -975,7 +975,7 @@ with gr.Blocks(css=css, fill_width=True) as demo:
975
  elem_style=dict(width="100%"))
976
  # Events Handler
977
  if save_history:
978
- browser_state = gr.BrowserState(
979
  {
980
  "conversations_history": {},
981
  "conversations": [],
 
975
  elem_style=dict(width="100%"))
976
  # Events Handler
977
  if save_history:
978
+ user_state = gr.State(StateData())
979
  {
980
  "conversations_history": {},
981
  "conversations": [],