Spaces:
Paused
Paused
Commit
·
6f31d2d
1
Parent(s):
680d316
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,8 +42,6 @@ with gr.Blocks(css="") as demo:
|
|
| 42 |
max_keywords_per_chunk = gr.Slider(1, 100, 10, step=1, label="max_keywords_per_chunk", interactive=False, show_label=True)
|
| 43 |
|
| 44 |
|
| 45 |
-
index_refresh_btn.click(refresh_json_list, None, [index_select])
|
| 46 |
-
|
| 47 |
chat_input.submit(chat_ai, [index_select, chat_input, prompt_tmpl, refine_tmpl, sim_k, chat_tone, chat_context, chatbot, search_options_checkbox], [chat_context, chatbot])
|
| 48 |
chat_input.submit(reset_textbox, [], [chat_input])
|
| 49 |
chat_submit_btn.click(chat_ai, [index_select, chat_input, prompt_tmpl, refine_tmpl, sim_k, chat_tone, chat_context, chatbot, search_options_checkbox], [chat_context, chatbot])
|
|
|
|
| 42 |
max_keywords_per_chunk = gr.Slider(1, 100, 10, step=1, label="max_keywords_per_chunk", interactive=False, show_label=True)
|
| 43 |
|
| 44 |
|
|
|
|
|
|
|
| 45 |
chat_input.submit(chat_ai, [index_select, chat_input, prompt_tmpl, refine_tmpl, sim_k, chat_tone, chat_context, chatbot, search_options_checkbox], [chat_context, chatbot])
|
| 46 |
chat_input.submit(reset_textbox, [], [chat_input])
|
| 47 |
chat_submit_btn.click(chat_ai, [index_select, chat_input, prompt_tmpl, refine_tmpl, sim_k, chat_tone, chat_context, chatbot, search_options_checkbox], [chat_context, chatbot])
|