prithivMLmods commited on
Commit
066c1c2
1 Parent(s): 1727a4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -136,15 +136,6 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
136
 
137
  result = gr.Image(label="Result", show_label=False)
138
 
139
- with gr.Row(visible=False):
140
- style_selection = gr.Radio(
141
- show_label=True,
142
- container=True,
143
- interactive=True,
144
- choices=STYLE_NAMES,
145
- value=DEFAULT_STYLE_NAME,
146
- label="Quality Style",
147
- )
148
 
149
  with gr.Row(visible=True):
150
  grid_size_selection = gr.Dropdown(
@@ -153,7 +144,7 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
153
  label="Grid Size"
154
  )
155
 
156
- with gr.Accordion("Advanced Settings", open=False, visible=False):
157
  negative_prompt = gr.Text(
158
  label="Negative prompt",
159
  max_lines=1,
@@ -204,6 +195,15 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
204
  maximum=50,
205
  step=1,
206
  value=4,
 
 
 
 
 
 
 
 
 
207
  )
208
 
209
  gr.Examples(examples=examples,
 
136
 
137
  result = gr.Image(label="Result", show_label=False)
138
 
 
 
 
 
 
 
 
 
 
139
 
140
  with gr.Row(visible=True):
141
  grid_size_selection = gr.Dropdown(
 
144
  label="Grid Size"
145
  )
146
 
147
+ with gr.Accordion("Advanced Settings", open=False):
148
  negative_prompt = gr.Text(
149
  label="Negative prompt",
150
  max_lines=1,
 
195
  maximum=50,
196
  step=1,
197
  value=4,
198
+ )
199
+
200
+ style_selection = gr.Radio(
201
+ show_label=True,
202
+ container=True,
203
+ interactive=True,
204
+ choices=STYLE_NAMES,
205
+ value=DEFAULT_STYLE_NAME,
206
+ label="Quality Style",
207
  )
208
 
209
  gr.Examples(examples=examples,