prithivMLmods commited on
Commit
b313d69
·
verified ·
1 Parent(s): acdc218

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
109
  gr.Markdown(DESCRIPTIONx)
110
 
111
  with gr.Row():
112
- with gr.Column(scale=1):
113
  with gr.Row():
114
  prompt = gr.Text(
115
  show_label=False,
@@ -177,13 +177,13 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
177
  step=1,
178
  value=23,
179
  )
180
- with gr.Sidebar():
181
- gr.Markdown("## Examples")
182
- gr.Examples(
183
- examples=examples,
184
- inputs=prompt,
185
- cache_examples=False,
186
- )
187
  use_negative_prompt.change(
188
  fn=lambda x: gr.update(visible=x),
189
  inputs=use_negative_prompt,
 
109
  gr.Markdown(DESCRIPTIONx)
110
 
111
  with gr.Row():
112
+ with gr.Column(scale=3):
113
  with gr.Row():
114
  prompt = gr.Text(
115
  show_label=False,
 
177
  step=1,
178
  value=23,
179
  )
180
+ with gr.Column(scale=1):
181
+ gr.Examples(
182
+ examples=examples,
183
+ inputs=prompt,
184
+ cache_examples=False,
185
+ )
186
+
187
  use_negative_prompt.change(
188
  fn=lambda x: gr.update(visible=x),
189
  inputs=use_negative_prompt,