Skip to content

Commit

Permalink
fix for extensions' javascript not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Nov 2, 2022
1 parent 55688c4 commit 5510c28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ui.py
Expand Up @@ -671,6 +671,8 @@ def create_ui(wrap_gradio_gpu_call):
import modules.img2img
import modules.txt2img

reload_javascript()

parameters_copypaste.reset()

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


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

0 comments on commit 5510c28

Please sign in to comment.