lixiang46 commited on
Commit
d890da3
β€’
1 Parent(s): 405e2af
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -109,7 +109,7 @@ examples = [
109
  css="""
110
  #col-left {
111
  margin: 0 auto;
112
- max-width: 500px;
113
  }
114
  #col-right {
115
  margin: 0 auto;
@@ -132,8 +132,8 @@ with gr.Blocks(css=css) as Kolors:
132
  show_label=False,
133
  placeholder="Enter your prompt",
134
  container=False,
 
135
  )
136
- run_button = gr.Button("Run", scale=0)
137
  with gr.Row():
138
  ip_adapter_image = gr.Image(label="Image Prompt (optional)", type="pil")
139
  with gr.Accordion("Advanced Settings", open=False):
@@ -189,6 +189,8 @@ with gr.Blocks(css=css) as Kolors:
189
  step=0.05,
190
  value=0.5,
191
  )
 
 
192
 
193
  with gr.Column(elem_id="col-right"):
194
  result = gr.Image(label="Result", show_label=False)
 
109
  css="""
110
  #col-left {
111
  margin: 0 auto;
112
+ max-width: 600px;
113
  }
114
  #col-right {
115
  margin: 0 auto;
 
132
  show_label=False,
133
  placeholder="Enter your prompt",
134
  container=False,
135
+ lines=2
136
  )
 
137
  with gr.Row():
138
  ip_adapter_image = gr.Image(label="Image Prompt (optional)", type="pil")
139
  with gr.Accordion("Advanced Settings", open=False):
 
189
  step=0.05,
190
  value=0.5,
191
  )
192
+ with gr.Row():
193
+ run_button = gr.Button("Run", scale=0)
194
 
195
  with gr.Column(elem_id="col-right"):
196
  result = gr.Image(label="Result", show_label=False)