BhumikaMak commited on
Commit
f1f6573
·
verified ·
1 Parent(s): 684119b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -2
app.py CHANGED
@@ -79,7 +79,21 @@ custom_css = """
79
  """
80
 
81
  with gr.Blocks(css=custom_css) as interface:
82
- gr.Markdown("# NeuralVista: Visualize Object Detection of Your Models")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  # Default sample
85
  default_sample = "Sample 1"
@@ -136,7 +150,7 @@ with gr.Blocks(css=custom_css) as interface:
136
  rows=1,
137
  columns=1,
138
  object_fit="fit",
139
- height="auto" # Adjust as needed
140
 
141
  )
142
 
 
79
  """
80
 
81
  with gr.Blocks(css=custom_css) as interface:
82
+ gr.Markdown(
83
+ """
84
+ # QR Code AI Art Generator
85
+ ## 💡 How to generate beautiful QR codes
86
+ We use the QR code image as the initial image **and** the control image, which allows you to generate
87
+ QR Codes that blend in **very naturally** with your provided prompt.
88
+ The strength parameter defines how much noise is added to your QR code and the noisy QR code is then guided towards both your prompt and the QR code image via Controlnet.
89
+ Use a high strength value between 0.8 and 0.95 and choose a conditioning scale between 0.6 and 2.0.
90
+ This mode arguably achieves the asthetically most appealing QR code images, but also requires more tuning of the controlnet conditioning scale and the strength value. If the generated image
91
+ looks way to much like the original QR code, make sure to gently increase the *strength* value and reduce the *conditioning* scale. Also check out the examples below.
92
+ model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
93
+ <a href="https://huggingface.co/spaces/huggingface-projects/QR-code-AI-art-generator?duplicate=true" style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
94
+ <img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> for no queue on your own hardware.</p>
95
+ """
96
+ )
97
 
98
  # Default sample
99
  default_sample = "Sample 1"
 
150
  rows=1,
151
  columns=1,
152
  object_fit="fit",
153
+ height=150 # Adjust as needed
154
 
155
  )
156