Severian commited on
Commit
3c35602
·
verified ·
1 Parent(s): 0b54767

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -437,9 +437,9 @@ with gr.Blocks(theme='Hev832/Applio') as blocks:
437
  with gr.Row():
438
  strength = gr.Slider(
439
  minimum=0.0,
440
- maximum=1.0,
441
- step=0.01,
442
- value=0.9,
443
  label="Artistic Freedom for the AI When Generating",
444
  )
445
  with gr.Accordion("How Much Artistic Freedom the AI has When Generating Image (Click For Explanation)", open=False):
@@ -447,18 +447,18 @@ with gr.Blocks(theme='Hev832/Applio') as blocks:
447
  """
448
  **Artistic Freedom** controls how much the AI is allowed to change the QR code's look to match your description. It's like telling the AI how creative it can get with your QR code:
449
 
450
- - **Low settings (0.0-0.3)**: If you set this low, the AI will make small changes and your QR code will look more like a regular, plain QR code. This is useful if you want something that is still creative but not too wild, keeping it simple and easy to scan.
451
 
452
- - **Medium settings (0.4-0.7)**: Here, the AI will add more artistic touches but keep the QR code recognizable. You get the best of both worlds—your QR code will have some creative flair, but it will still be easy to scan. For most cases, setting it to **0.6** is a great way to keep the code functional and artistic.
453
 
454
- - **High settings (0.8-1.0)**: If you set this high, the AI will go all-out creative. The QR code will look amazing, but it might be difficult to scan because the art can start to take over the code. This setting is perfect if you're aiming for a highly creative piece of art and don't mind if it's a bit harder to scan. Start at **0.9** to explore creative but functional designs.
455
  """
456
  )
457
 
458
  with gr.Row():
459
  guidance_scale = gr.Slider(
460
  minimum=0.0,
461
- maximum=50.0,
462
  step=0.25,
463
  value=7.5,
464
  label="How Closely the AI Follows the Prompt",
 
437
  with gr.Row():
438
  strength = gr.Slider(
439
  minimum=0.0,
440
+ maximum=5,
441
+ step=0.10,
442
+ value=2,
443
  label="Artistic Freedom for the AI When Generating",
444
  )
445
  with gr.Accordion("How Much Artistic Freedom the AI has When Generating Image (Click For Explanation)", open=False):
 
447
  """
448
  **Artistic Freedom** controls how much the AI is allowed to change the QR code's look to match your description. It's like telling the AI how creative it can get with your QR code:
449
 
450
+ - **Low settings (0.10-2)**: If you set this low, the AI will make small changes and your QR code will look more like a regular, plain QR code. This is useful if you want something that is still creative but not too wild, keeping it simple and easy to scan.
451
 
452
+ - **Medium settings (2-3)**: Here, the AI will add more artistic touches but keep the QR code recognizable. You get the best of both worlds—your QR code will have some creative flair, but it will still be easy to scan. For most cases, setting it to **0.6** is a great way to keep the code functional and artistic.
453
 
454
+ - **High settings (3-5)**: If you set this high, the AI will go all-out creative. The QR code will look amazing, but it might be difficult to scan because the art can start to take over the code. This setting is perfect if you're aiming for a highly creative piece of art and don't mind if it's a bit harder to scan. Start at **0.9** to explore creative but functional designs.
455
  """
456
  )
457
 
458
  with gr.Row():
459
  guidance_scale = gr.Slider(
460
  minimum=0.0,
461
+ maximum=100.0,
462
  step=0.25,
463
  value=7.5,
464
  label="How Closely the AI Follows the Prompt",