ChenWu98 commited on
Commit
57320b0
1 Parent(s): 4527b8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -83,8 +83,10 @@ with gr.Blocks(css=css) as demo:
83
  with gr.Column(scale=45):
84
  with gr.Tab("Options"):
85
  with gr.Group():
86
- source_prompt = gr.Textbox(label="Source prompt", placeholder="Source prompt describes the input image").style(rounded=(False, True, True, False))
87
- target_prompt = gr.Textbox(label="Target prompt", placeholder="Target prompt describes the output image").style(rounded=(True, False, False, True))
 
 
88
 
89
  with gr.Row():
90
  source_guidance_scale = gr.Slider(label="Source guidance scale", value=1, minimum=1, maximum=10)
@@ -100,9 +102,7 @@ with gr.Blocks(css=css) as demo:
100
 
101
  with gr.Row():
102
  seed = gr.Slider(0, 2147483647, label='Seed', value=0, step=1)
103
-
104
- with gr.Row():
105
- generate = gr.Button(value="Edit").style(rounded=(True, True, True, True))
106
 
107
  inputs = [source_prompt, target_prompt, source_guidance_scale, guidance_scale, num_inference_steps,
108
  width, height, seed, img, strength]
 
83
  with gr.Column(scale=45):
84
  with gr.Tab("Options"):
85
  with gr.Group():
86
+ with gr.Row():
87
+ source_prompt = gr.Textbox(label="Source prompt", placeholder="Source prompt describes the input image")
88
+ with gr.Row():
89
+ target_prompt = gr.Textbox(label="Target prompt", placeholder="Target prompt describes the output image")
90
 
91
  with gr.Row():
92
  source_guidance_scale = gr.Slider(label="Source guidance scale", value=1, minimum=1, maximum=10)
 
102
 
103
  with gr.Row():
104
  seed = gr.Slider(0, 2147483647, label='Seed', value=0, step=1)
105
+ generate = gr.Button(value="Edit")
 
 
106
 
107
  inputs = [source_prompt, target_prompt, source_guidance_scale, guidance_scale, num_inference_steps,
108
  width, height, seed, img, strength]