mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 14:52:31 +03:00
Temporarily hide sd_concept_library due to missing layout()
This commit is contained in:
parent
1f534cd5ac
commit
745e1cc2e1
@ -100,8 +100,11 @@ def layout():
|
||||
iconName=['dashboard','model_training' ,'cloud_download', 'settings'], default_choice=0)
|
||||
|
||||
if tabs =='Stable Diffusion':
|
||||
txt2img_tab, img2img_tab, txt2vid_tab, postprocessing_tab, concept_library_tab = st.tabs(["Text-to-Image Unified", "Image-to-Image Unified",
|
||||
"Text-to-Video","Post-Processing", "Concept Library"])
|
||||
# txt2img_tab, img2img_tab, txt2vid_tab, postprocessing_tab, concept_library_tab = st.tabs(["Text-to-Image Unified", "Image-to-Image Unified",
|
||||
# "Text-to-Video","Post-Processing", "Concept Library"])
|
||||
txt2img_tab, img2img_tab, txt2vid_tab = st.tabs(
|
||||
["Text-to-Image Unified", "Image-to-Image Unified", "Text-to-Video"]
|
||||
)
|
||||
#with home_tab:
|
||||
#from home import layout
|
||||
#layout()
|
||||
@ -118,18 +121,18 @@ def layout():
|
||||
from txt2vid import layout
|
||||
layout()
|
||||
|
||||
with concept_library_tab:
|
||||
from sd_concept_library import layout
|
||||
layout()
|
||||
# with concept_library_tab:
|
||||
# from sd_concept_library import layout
|
||||
# layout()
|
||||
|
||||
#
|
||||
elif tabs == 'Model Manager':
|
||||
from ModelManager import layout
|
||||
layout()
|
||||
|
||||
elif tabs == 'Textual Inversion':
|
||||
from textual_inversion import layout
|
||||
layout()
|
||||
# elif tabs == 'Textual Inversion':
|
||||
# from textual_inversion import layout
|
||||
# layout()
|
||||
|
||||
if __name__ == '__main__':
|
||||
layout()
|
Loading…
Reference in New Issue
Block a user