artificialguybr commited on
Commit
aad1e47
·
verified ·
1 Parent(s): 2813167

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -84,7 +84,8 @@ top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.7)
84
  with gr.Blocks() as demo:
85
  chat_history_state = gr.State([])
86
  chatbot = gr.ChatInterface(
87
- fn=lambda message, history: update_chatbot(message, history),
 
88
  additional_inputs=[system_msg, max_tokens, temperature, top_p],
89
  title="LLAMA 70B Free Demo",
90
  description="""
 
84
  with gr.Blocks() as demo:
85
  chat_history_state = gr.State([])
86
  chatbot = gr.ChatInterface(
87
+ fn=lambda message, history, system_message, max_tokens, temperature, top_p:
88
+ update_chatbot(message, history, system_message, max_tokens, temperature, top_p),
89
  additional_inputs=[system_msg, max_tokens, temperature, top_p],
90
  title="LLAMA 70B Free Demo",
91
  description="""