Update app.py
Browse files
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(
|
| 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 |
)
|