diff --git a/modules/ui_gradio_extensions.py b/modules/ui_gradio_extensions.py
index bebf9f8ca7..409c7e332c 100644
--- a/modules/ui_gradio_extensions.py
+++ b/modules/ui_gradio_extensions.py
@@ -39,7 +39,7 @@ def javascript_html():
head += f'\n'
head += f'\n'
head += f'\n'
- head += f'\n'
+ head += f'\n'
if args_manager.args.theme:
head += f'\n'