jamesliu1217 commited on
Commit
73a9679
·
verified ·
1 Parent(s): b95773f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=896, step=64, label="Height", value=768)
135
- width = gr.Slider(minimum=256, maximum=896, 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")
 
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")