ChenoAi commited on
Commit
26c576c
1 Parent(s): 3af00e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -171,6 +171,15 @@ with gr.Blocks(css=css , theme=gr.themes.Base()) as demo:
171
  with gr.Row():
172
  prompt = gr.Textbox(label='Enter Your Prompt', placeholder="Enter prompt...", scale=6)
173
  run_button = gr.Button(scale=2, variant='primary')
 
 
 
 
 
 
 
 
 
174
  with gr.Accordion("Advanced options", open=True):
175
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False, visible=True)
176
  negative_prompt = gr.Text(
@@ -226,16 +235,7 @@ with gr.Blocks(css=css , theme=gr.themes.Base()) as demo:
226
  maximum=20.0,
227
  step=0.1,
228
  value=6,
229
- )
230
- with gr.Row(visible=True):
231
- style_selection = gr.Radio(
232
- show_label=True,
233
- container=True,
234
- interactive=True,
235
- choices=STYLE_NAMES,
236
- value=DEFAULT_STYLE_NAME,
237
- label="Image Style",
238
- )
239
 
240
  gr.Examples(
241
  examples=examples,
 
171
  with gr.Row():
172
  prompt = gr.Textbox(label='Enter Your Prompt', placeholder="Enter prompt...", scale=6)
173
  run_button = gr.Button(scale=2, variant='primary')
174
+ with gr.Row(visible=True):
175
+ style_selection = gr.Radio(
176
+ show_label=True,
177
+ container=True,
178
+ interactive=True,
179
+ choices=STYLE_NAMES,
180
+ value=DEFAULT_STYLE_NAME,
181
+ label="Image Style",
182
+ )
183
  with gr.Accordion("Advanced options", open=True):
184
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False, visible=True)
185
  negative_prompt = gr.Text(
 
235
  maximum=20.0,
236
  step=0.1,
237
  value=6,
238
+ )
 
 
 
 
 
 
 
 
 
239
 
240
  gr.Examples(
241
  examples=examples,