get progressbar to display correctly in extensions tab
This commit is contained in:
parent
ee373a737c
commit
9a4a1aac81
|
@ -33,7 +33,7 @@ function extensions_check() {
|
|||
|
||||
|
||||
var id = randomId();
|
||||
requestProgress(id, gradioApp().getElementById('extensions_installed_top'), null, function() {
|
||||
requestProgress(id, gradioApp().getElementById('extensions_installed_html'), null, function() {
|
||||
|
||||
});
|
||||
|
||||
|
|
|
@ -557,8 +557,12 @@ def create_ui():
|
|||
msg = '"--disable-extra-extensions" was used, remove it to load all extensions again'
|
||||
html = f'<span style="color: var(--primary-400);">{msg}</span>'
|
||||
|
||||
info = gr.HTML(html)
|
||||
extensions_table = gr.HTML('Loading...')
|
||||
with gr.Row():
|
||||
info = gr.HTML(html)
|
||||
|
||||
with gr.Row(elem_classes="progress-container"):
|
||||
extensions_table = gr.HTML('Loading...', elem_id="extensions_installed_html")
|
||||
|
||||
ui.load(fn=extension_table, inputs=[], outputs=[extensions_table])
|
||||
|
||||
apply.click(
|
||||
|
|
Loading…
Reference in New Issue