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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def generate(prompt, history, user_system_prompt, temperature=0.9, max_new_token
36
  formatted_time = now.strftime("%H.%M.%S, %B, %Y")
37
 
38
  # Load chat history from localStorage
39
- loaded_history = gr.Context.client.call('loadChat')
40
  history = loaded_history + history
41
 
42
  formatted_prompt = format_prompt(f"{prompt}", history, system_prompt)
 
36
  formatted_time = now.strftime("%H.%M.%S, %B, %Y")
37
 
38
  # Load chat history from localStorage
39
+ loaded_history = gr.context.client.call('loadChat')
40
  history = loaded_history + history
41
 
42
  formatted_prompt = format_prompt(f"{prompt}", history, system_prompt)