Skip to content

Commit 5510c28

Browse files
committed
fix for extensions' javascript not loading
1 parent 55688c4 commit 5510c28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/ui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,8 @@ def create_ui(wrap_gradio_gpu_call):
671671
import modules.img2img
672672
import modules.txt2img
673673

674+
reload_javascript()
675+
674676
parameters_copypaste.reset()
675677

676678
with gr.Blocks(analytics_enabled=False) as txt2img_interface:
@@ -1782,4 +1784,3 @@ def template_response(*args, **kwargs):
17821784

17831785

17841786
reload_javascript = partial(load_javascript, gradio.routes.templates.TemplateResponse)
1785-
reload_javascript()

0 commit comments

Comments
 (0)