mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
This reverts commit a5ae9d9f02.
This commit is contained in:
@@ -59,7 +59,6 @@ if __name__ == "__main__":
|
||||
dark_theme = resource_path("ui/css/sd_dark_theme.css")
|
||||
|
||||
from apps.stable_diffusion.web.ui import (
|
||||
chatbot_web,
|
||||
txt2img_web,
|
||||
txt2img_gallery,
|
||||
txt2img_sendto_img2img,
|
||||
@@ -120,8 +119,6 @@ if __name__ == "__main__":
|
||||
outpaint_web.render()
|
||||
with gr.TabItem(label="Upscaler", id=4):
|
||||
upscaler_web.render()
|
||||
with gr.TabItem(label="Chatbot", id=5):
|
||||
chatbot_web.render()
|
||||
|
||||
with gr.Tabs(visible=False) as experimental_tabs:
|
||||
with gr.TabItem(label="LoRA Training", id=5):
|
||||
|
||||
@@ -49,4 +49,3 @@ from apps.stable_diffusion.web.ui.upscaler_ui import (
|
||||
upscaler_sendto_outpaint,
|
||||
)
|
||||
from apps.stable_diffusion.web.ui.lora_train_ui import lora_train_web
|
||||
from apps.stable_diffusion.web.ui.chatbot_ui import chatbot_web
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
from fastchat import build_demo, get_model_list, set_global_vars
|
||||
|
||||
controller_url = "http://localhost:21001"
|
||||
moderate = False
|
||||
models = get_model_list(controller_url)
|
||||
set_global_vars(controller_url, moderate, models)
|
||||
|
||||
chatbot_web = build_demo()
|
||||
Reference in New Issue
Block a user