vericudebuget commited on
Commit
7ea2aa7
·
verified ·
1 Parent(s): f9c1e92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def generate(prompt, history, user_system_prompt, temperature=0.9, max_new_token
49
 
50
  # Save the updated chat history to localStorage
51
  new_history = history + [(prompt, output)]
52
- gr.Context.client.call('saveChat', [new_history])
53
 
54
  return output
55
 
 
49
 
50
  # Save the updated chat history to localStorage
51
  new_history = history + [(prompt, output)]
52
+ gr.context.client.call('saveChat', [new_history])
53
 
54
  return output
55