alternate fix for catch errors when retrieving extension index #11290

This commit is contained in:
AUTOMATIC 2023-06-27 08:59:35 +03:00
parent fa31dd80f5
commit 9bb1fcfad4

View File

@ -571,9 +571,9 @@ def create_ui():
available_extensions_table = gr.HTML() available_extensions_table = gr.HTML()
refresh_available_extensions_button.click( refresh_available_extensions_button.click(
fn=modules.ui.wrap_gradio_call(refresh_available_extensions, extra_outputs=[gr.update(), gr.update(), gr.update()]), fn=modules.ui.wrap_gradio_call(refresh_available_extensions, extra_outputs=[gr.update(), gr.update(), gr.update(), gr.update()]),
inputs=[available_extensions_index, hide_tags, sort_column], inputs=[available_extensions_index, hide_tags, sort_column],
outputs=[available_extensions_index, available_extensions_table, hide_tags, install_result, search_extensions_text], outputs=[available_extensions_index, available_extensions_table, hide_tags, search_extensions_text, install_result],
) )
install_extension_button.click( install_extension_button.click(