Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -131,8 +131,8 @@ with gr.Blocks() as demo:
|
|
131 |
prompt = gr.Textbox(label="Prompt")
|
132 |
subject_img = gr.Image(label="Subject Image", type="pil") # 上传图像文件
|
133 |
spatial_img = gr.Image(label="Spatial Image", type="pil") # 上传图像文件
|
134 |
-
height = gr.Slider(minimum=256, maximum=
|
135 |
-
width = gr.Slider(minimum=256, maximum=
|
136 |
seed = gr.Number(label="Seed", value=42)
|
137 |
control_type = gr.Dropdown(choices=control_types, label="Control Type")
|
138 |
style_lora = gr.Dropdown(choices=style_loras, label="Style LoRA")
|
|
|
131 |
prompt = gr.Textbox(label="Prompt")
|
132 |
subject_img = gr.Image(label="Subject Image", type="pil") # 上传图像文件
|
133 |
spatial_img = gr.Image(label="Spatial Image", type="pil") # 上传图像文件
|
134 |
+
height = gr.Slider(minimum=256, maximum=1024, step=64, label="Height", value=768)
|
135 |
+
width = gr.Slider(minimum=256, maximum=1024, step=64, label="Width", value=768)
|
136 |
seed = gr.Number(label="Seed", value=42)
|
137 |
control_type = gr.Dropdown(choices=control_types, label="Control Type")
|
138 |
style_lora = gr.Dropdown(choices=style_loras, label="Style LoRA")
|