artificialguybr commited on
Commit
32fc9d9
1 Parent(s): 14126e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks() as demo:
66
  chat_history_state = gr.State([])
67
  chat_interface = gr.ChatInterface(
68
  fn=chatbot_function,
69
- chatbot=gr.Chatbot(history=chat_history_state),
70
  additional_inputs=[system_msg, max_tokens, temperature, top_p],
71
  title="LLAMA 70B Free Demo",
72
  )
 
66
  chat_history_state = gr.State([])
67
  chat_interface = gr.ChatInterface(
68
  fn=chatbot_function,
69
+ chatbot=gr.Chatbot(value=chat_history_state),
70
  additional_inputs=[system_msg, max_tokens, temperature, top_p],
71
  title="LLAMA 70B Free Demo",
72
  )