prithivMLmods commited on
Commit
cd456e7
·
verified ·
1 Parent(s): e0da60b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -102,8 +102,6 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
102
  run_button = gr.Button("Run", scale=0)
103
  with gr.Accordion("Advanced Settings", open=False):
104
 
105
- upscale_checkbox = gr.Checkbox(label="Upscale the final image", value=False)
106
-
107
  seed = gr.Slider(
108
  label="Seed",
109
  minimum=0,
@@ -134,13 +132,17 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
134
  # Replace the single image result with the ImageSlider
135
  output_slider = ImageSlider(label="Before / After", show_label=False, interactive=False)
136
  reuse_button = gr.Button("Reuse this image", visible=False)
 
137
  with gr.Row():
138
  lora_adapter = gr.Dropdown(
139
  label="Choose Adapter",
140
  choices=["PhotoCleanser", "PhotoRestorer", "PolaroidWarm", "MonochromePencil"],
141
  value="PhotoCleanser"
142
  )
143
-
 
 
 
144
  gr.Examples(
145
  examples=[
146
  ["photocleanser/1.png", "[photo content], remove the embroidered pattern from the image...", "PhotoCleanser"],
@@ -157,7 +159,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
157
  outputs=[output_slider, seed],
158
  fn=infer_example,
159
  cache_examples=False,
160
- label="Examples (Image | Prompt | Selected LoRA)"
161
  )
162
 
163
  gr.on(
 
102
  run_button = gr.Button("Run", scale=0)
103
  with gr.Accordion("Advanced Settings", open=False):
104
 
 
 
105
  seed = gr.Slider(
106
  label="Seed",
107
  minimum=0,
 
132
  # Replace the single image result with the ImageSlider
133
  output_slider = ImageSlider(label="Before / After", show_label=False, interactive=False)
134
  reuse_button = gr.Button("Reuse this image", visible=False)
135
+
136
  with gr.Row():
137
  lora_adapter = gr.Dropdown(
138
  label="Choose Adapter",
139
  choices=["PhotoCleanser", "PhotoRestorer", "PolaroidWarm", "MonochromePencil"],
140
  value="PhotoCleanser"
141
  )
142
+
143
+ with gr.Row():
144
+ upscale_checkbox = gr.Checkbox(label="Upscale the final image", value=False)
145
+
146
  gr.Examples(
147
  examples=[
148
  ["photocleanser/1.png", "[photo content], remove the embroidered pattern from the image...", "PhotoCleanser"],
 
159
  outputs=[output_slider, seed],
160
  fn=infer_example,
161
  cache_examples=False,
162
+ label="Examples"
163
  )
164
 
165
  gr.on(