WonwoongCho commited on
Commit
220936a
·
1 Parent(s): bf2e3fc

update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -149,14 +149,14 @@ def create_app():
149
  with gr.Row(equal_height=False):
150
  with gr.Column(variant="panel", elem_classes="inputPanel"):
151
  original_image_input = gr.Image(
152
- type="pil", label="Condition Image", width=300, elem_id="input"
153
  )
154
 
155
- scale_input = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, value=0.6, label="Guidance Scale")
156
- seed_input = gr.Number(value=42, label="seed", precision=0)
157
  text_input = gr.Textbox(
158
  lines=2,
159
- label="Text Prompt",
160
  value="A photo of a dragon, imaginative, creative, design",
161
  elem_id="text"
162
  )
 
149
  with gr.Row(equal_height=False):
150
  with gr.Column(variant="panel", elem_classes="inputPanel"):
151
  original_image_input = gr.Image(
152
+ type="pil", label="Condition image", width=300, elem_id="input"
153
  )
154
 
155
+ scale_input = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, value=0.6, label="Scale (recommended range: 0.5-0.8; the higher, the stronger effect of the reference image)")
156
+ seed_input = gr.Number(value=42, label="Seed", precision=0)
157
  text_input = gr.Textbox(
158
  lines=2,
159
+ label="Text prompt",
160
  value="A photo of a dragon, imaginative, creative, design",
161
  elem_id="text"
162
  )