make ui_params() work

This commit is contained in:
Vasyanator 2024-08-27 21:18:55 +04:00 committed by GitHub
parent c14f7c4e7c
commit 8abadc93ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@ from pathlib import Path
import gradio as gr import gradio as gr
from modules import loaders, presets, shared, ui, ui_chat, utils from modules import loaders, presets, shared, ui, ui_chat, utils, extensions
from modules.utils import gradio from modules.utils import gradio
@ -98,6 +98,7 @@ def create_ui(default_preset):
shared.gradio['stream'] = gr.Checkbox(value=shared.settings['stream'], label='Activate text streaming') shared.gradio['stream'] = gr.Checkbox(value=shared.settings['stream'], label='Activate text streaming')
ui_chat.create_chat_settings_ui() ui_chat.create_chat_settings_ui()
extensions.create_extensions_params()
def create_event_handlers(): def create_event_handlers():