Rooni commited on
Commit
7cc7a4d
·
verified ·
1 Parent(s): cbebc0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ with gr.Blocks(css=css) as demo:
67
 
68
  # Обработка отправки сообщения
69
  msg.submit(chat_with_searchgpt, [msg, chatbot, max_tokens, temperature, top_p], [chatbot, msg], concurrency_limit=250)
70
- click.click(chat_with_searchgpt, [msg, chatbot, max_tokens, temperature, top_p], [chatbot, msg], concurrency_limit=250)
71
 
72
  # Запуск интерфейса
73
  demo.launch(show_api=False, share=False)
 
67
 
68
  # Обработка отправки сообщения
69
  msg.submit(chat_with_searchgpt, [msg, chatbot, max_tokens, temperature, top_p], [chatbot, msg], concurrency_limit=250)
70
+ send.click(chat_with_searchgpt, [msg, chatbot, max_tokens, temperature, top_p], [chatbot, msg], concurrency_limit=250)
71
 
72
  # Запуск интерфейса
73
  demo.launch(show_api=False, share=False)