susunghong commited on
Commit
37d3c52
1 Parent(s): d02d8ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -86,12 +86,6 @@ def main():
86
  with gr.Column(scale=1, min_width=60):
87
  reset_button = gr.Button("Reset")
88
 
89
- with gr.Row():
90
- ori_image = gr.Image(label="CFG", type="pil", interactive=False)
91
- sag_image = gr.Image(label="SAG + CFG", type="pil", interactive=False)
92
- ori_image.style(height=512, width=512)
93
- sag_image.style(height=512, width=512)
94
-
95
  with gr.Row():
96
  steps = gr.Number(value=50, precision=0, label="Steps", interactive=True)
97
  randomize_seed = gr.Radio(
@@ -111,6 +105,13 @@ def main():
111
  sag_scale = gr.Slider(
112
  label="Self-Attention Guidance Scale", minimum=0, maximum=1.0, value=0.75, step=0.05
113
  )
 
 
 
 
 
 
 
114
 
115
  ex = gr.Examples(
116
  examples=examples,
 
86
  with gr.Column(scale=1, min_width=60):
87
  reset_button = gr.Button("Reset")
88
 
 
 
 
 
 
 
89
  with gr.Row():
90
  steps = gr.Number(value=50, precision=0, label="Steps", interactive=True)
91
  randomize_seed = gr.Radio(
 
105
  sag_scale = gr.Slider(
106
  label="Self-Attention Guidance Scale", minimum=0, maximum=1.0, value=0.75, step=0.05
107
  )
108
+
109
+ with gr.Row():
110
+ ori_image = gr.Image(label="CFG", type="pil", interactive=False)
111
+ sag_image = gr.Image(label="SAG + CFG", type="pil", interactive=False)
112
+ ori_image.style(height=512, width=512)
113
+ sag_image.style(height=512, width=512)
114
+
115
 
116
  ex = gr.Examples(
117
  examples=examples,