Spaces:
Running
Running
Update app.py
Browse files
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,
|
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,
|
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 |
|