Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -239,9 +239,7 @@ with gr.Blocks(css=css) as demo:
|
|
239 |
msg_input.submit(
|
240 |
user_interaction,
|
241 |
inputs=[msg_input, history_state, api_key_input, max_tokens, top_p, temperature],
|
242 |
-
outputs=[chatbot_output, history_state, msg_input]
|
243 |
-
postprocess_fn=lambda: "MathJax.typesetPromise()"
|
244 |
-
|
245 |
)
|
246 |
|
247 |
send_btn.click(
|
|
|
239 |
msg_input.submit(
|
240 |
user_interaction,
|
241 |
inputs=[msg_input, history_state, api_key_input, max_tokens, top_p, temperature],
|
242 |
+
outputs=[chatbot_output, history_state, msg_input]
|
|
|
|
|
243 |
)
|
244 |
|
245 |
send_btn.click(
|