refactor: remove model selection temporarily (#50)

refactor: remove model selection
pull/51/head
Maiko Sinkyaet Tan 2023-01-27 22:36:15 +08:00 committed by GitHub
parent e6e3bc3a09
commit a80d10552e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions

View File

@ -3,7 +3,7 @@ from typing import Optional
from fastapi import FastAPI
import gradio as gr
from modules import scripts, script_callbacks, shared
from modules import scripts, script_callbacks
from stable_horde import StableHorde, StableHordeConfig
@ -30,7 +30,6 @@ def apply_stable_horde_settings(
interval: int,
max_pixels: str,
endpoint: str,
model_selection: list,
show_images: bool,
save_images: bool,
save_images_folder: str,
@ -134,13 +133,6 @@ def on_ui_tabs():
elem_id=tab_prefix + "save-images-folder",
)
with gr.Row():
model_selection = gr.CheckboxGroup(
choices=shared.list_checkpoint_tiles(),
value=[shared.list_checkpoint_tiles()[0]],
label="Model Selection",
)
with gr.Column():
show_images = gr.Checkbox(
config.show_image_preview, label="Show Images"
@ -213,7 +205,6 @@ def on_ui_tabs():
interval,
max_pixels,
endpoint,
model_selection,
show_images,
save_images,
save_images_folder,