artificialguybr commited on
Commit
0355e55
·
verified ·
1 Parent(s): 1a79dcc

Update app.py

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