mannadamay12 commited on
Commit
bf76813
·
verified ·
1 Parent(s): a3542d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -165,14 +165,14 @@ with gr.Blocks(title="ROS2 Expert Assistant") as demo:
165
 
166
  submit.click(
167
  submit_and_clear,
168
- inputs=[msg, chatbot, system_message, max_tokens, temperature, top_p],
169
  outputs=[chatbot, msg]
170
  )
171
 
172
  clear.click(lambda: (None, ""), None, [chatbot, msg], queue=False)
173
  msg.submit(
174
  submit_and_clear,
175
- inputs=[msg, chatbot, system_message, max_tokens, temperature, top_p],
176
  outputs=[chatbot, msg]
177
  )
178
 
 
165
 
166
  submit.click(
167
  submit_and_clear,
168
+ inputs=[msg, chatbot, max_tokens, temperature, top_p],
169
  outputs=[chatbot, msg]
170
  )
171
 
172
  clear.click(lambda: (None, ""), None, [chatbot, msg], queue=False)
173
  msg.submit(
174
  submit_and_clear,
175
+ inputs=[msg, chatbot, max_tokens, temperature, top_p],
176
  outputs=[chatbot, msg]
177
  )
178