mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
+3
-2
@@ -6,11 +6,12 @@ Smaller release just few days after the last one, but with some important fixes
|
||||
This release can be considered an LTS release before we kick off the next round of major updates.
|
||||
|
||||
- Docs:
|
||||
- new top-level **info** tab with access to [changelog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) and [wiki](https://github.com/vladmandic/automatic/wiki)
|
||||
- UI built-in [changelog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) search
|
||||
since changelog is the best up-to-date source of info
|
||||
go to system -> changelog and search/highligh/navigate directly in UI!
|
||||
go to info -> changelog and search/highligh/navigate directly in UI!
|
||||
- UI built-in [wiki](https://github.com/vladmandic/automatic/wiki)
|
||||
go to system -> wiki and search wiki pages directly in UI!
|
||||
go to info -> wiki and search wiki pages directly in UI!
|
||||
- major [Wiki](https://github.com/vladmandic/automatic/wiki) updates
|
||||
- Integrations:
|
||||
- [PuLID](https://github.com/ToTheBeginning/PuLID): Pure and Lightning ID Customization via Contrastive Alignment
|
||||
|
||||
+11
-8
@@ -354,14 +354,6 @@ def create_ui(startup_timer = None):
|
||||
from modules.onnx_impl import ui as ui_onnx
|
||||
ui_onnx.create_ui()
|
||||
|
||||
with gr.TabItem("Change log", id="change_log", elem_id="system_tab_changelog"):
|
||||
from modules import ui_docs
|
||||
ui_docs.create_ui_logs()
|
||||
|
||||
with gr.TabItem("Wiki", id="wiki", elem_id="system_tab_wiki"):
|
||||
from modules import ui_docs
|
||||
ui_docs.create_ui_wiki()
|
||||
|
||||
def unload_sd_weights():
|
||||
modules.sd_models.unload_model_weights(op='model')
|
||||
modules.sd_models.unload_model_weights(op='refiner')
|
||||
@@ -382,6 +374,16 @@ def create_ui(startup_timer = None):
|
||||
|
||||
timer.startup.record("ui-settings")
|
||||
|
||||
with gr.Blocks(analytics_enabled=False) as info_interface:
|
||||
with gr.Tabs(elem_id="tabs_info"):
|
||||
with gr.TabItem("Change log", id="change_log", elem_id="system_tab_changelog"):
|
||||
from modules import ui_docs
|
||||
ui_docs.create_ui_logs()
|
||||
|
||||
with gr.TabItem("Wiki", id="wiki", elem_id="system_tab_wiki"):
|
||||
from modules import ui_docs
|
||||
ui_docs.create_ui_wiki()
|
||||
|
||||
interfaces = []
|
||||
interfaces += [(txt2img_interface, "Text", "txt2img")]
|
||||
interfaces += [(img2img_interface, "Image", "img2img")]
|
||||
@@ -391,6 +393,7 @@ def create_ui(startup_timer = None):
|
||||
interfaces += [(models_interface, "Models", "models")]
|
||||
interfaces += script_callbacks.ui_tabs_callback()
|
||||
interfaces += [(settings_interface, "System", "system")]
|
||||
interfaces += [(info_interface, "Info", "info")]
|
||||
|
||||
from modules import ui_extensions
|
||||
extensions_interface = ui_extensions.create_ui()
|
||||
|
||||
+1
-1
@@ -61,6 +61,6 @@ def create_ui_wiki():
|
||||
wiki_search = gr.Textbox(label="Search Wiki Pages", elem_id="wiki_search")
|
||||
wiki_search_btn = ui_components.ToolButton(value=ui_symbols.search, label="Search", elem_id="wiki_search_btn")
|
||||
with gr.Row():
|
||||
wiki_result = gr.HTML(elem_id="wiki_result", value='test')
|
||||
wiki_result = gr.HTML(elem_id="wiki_result", value='')
|
||||
wiki_search.submit(_js="wikiSearch", fn=search_github, inputs=[wiki_search], outputs=[wiki_result])
|
||||
wiki_search_btn.click(_js="wikiSearch", fn=search_github, inputs=[wiki_search], outputs=[wiki_result])
|
||||
|
||||
Reference in New Issue
Block a user