Revert "[SD] Add FastChat as part of SD WebUI (#1349)" (#1350)

This reverts commit a5ae9d9f02.
This commit is contained in:
powderluv
2023-04-24 15:22:25 -07:00
committed by GitHub
parent a5ae9d9f02
commit 822171277c
3 changed files with 0 additions and 12 deletions

View File

@@ -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):

View File

@@ -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

View File

@@ -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()