This commit is contained in:
lvmin
2023-10-13 05:28:42 -07:00
parent 80d80c5962
commit 63820ff362
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import modules.gradio_hijack as grh
import modules.advanced_parameters as advanced_parameters
import args_manager
from modules.sdxl_styles import legal_style_names, aspect_ratios, default_aspect_ratio
from modules.sdxl_styles import legal_style_names, aspect_ratios
from modules.private_logger import get_current_html_path
@@ -176,7 +176,7 @@ with shared.gradio_root:
with gr.Tab(label='Setting'):
performance_selection = gr.Radio(label='Performance', choices=['Speed', 'Quality'], value='Speed')
aspect_ratios_selection = gr.Radio(label='Aspect Ratios', choices=list(aspect_ratios.keys()),
value=default_aspect_ratio, info='width × height')
value=modules.path.default_aspect_ratio, info='width × height')
image_number = gr.Slider(label='Image Number', minimum=1, maximum=32, step=1, value=2)
negative_prompt = gr.Textbox(label='Negative Prompt', show_label=True, placeholder="Type prompt here.",
info='Describing what you do not want to see.', lines=2,