Severian commited on
Commit
8b84cd9
·
verified ·
1 Parent(s): 406c551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -388,7 +388,13 @@ with gr.Blocks(theme='Hev832/Applio') as blocks:
388
  scan_button = gr.Button("Verify QR Code Works")
389
  scan_result = gr.Textbox(label="Validation Result of QR Code", interactive=False)
390
 
391
-
 
 
 
 
 
 
392
 
393
  gr.Markdown(
394
  """
@@ -400,13 +406,6 @@ with gr.Blocks(theme='Hev832/Applio') as blocks:
400
  - Need a clearer QR code? Raise the 'QR Code Visibility'.
401
  """
402
  )
403
-
404
- with gr.Row():
405
- brightness = gr.Slider(minimum=0.1, maximum=2.0, step=0.1, value=1.0, label="Brightness")
406
- contrast = gr.Slider(minimum=0.1, maximum=2.0, step=0.1, value=1.0, label="Contrast")
407
- saturation = gr.Slider(minimum=0.1, maximum=2.0, step=0.1, value=1.0, label="Saturation")
408
- with gr.Row():
409
- invert_button = gr.Button("Invert Image")
410
 
411
  with gr.Accordion("Advanced Art Controls", open=True):
412
  with gr.Row():
 
388
  scan_button = gr.Button("Verify QR Code Works")
389
  scan_result = gr.Textbox(label="Validation Result of QR Code", interactive=False)
390
 
391
+
392
+ with gr.Row():
393
+ brightness = gr.Slider(minimum=0.1, maximum=2.0, step=0.1, value=1.0, label="Brightness")
394
+ contrast = gr.Slider(minimum=0.1, maximum=2.0, step=0.1, value=1.0, label="Contrast")
395
+ saturation = gr.Slider(minimum=0.1, maximum=2.0, step=0.1, value=1.0, label="Saturation")
396
+ with gr.Row(scale=1):
397
+ invert_button = gr.Button("Invert Image")
398
 
399
  gr.Markdown(
400
  """
 
406
  - Need a clearer QR code? Raise the 'QR Code Visibility'.
407
  """
408
  )
 
 
 
 
 
 
 
409
 
410
  with gr.Accordion("Advanced Art Controls", open=True):
411
  with gr.Row():