Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -126,18 +126,14 @@ with gr.Blocks() as blocks:
126
  gr.Markdown(
127
  """
128
  # QR Code AI Art Generator
129
-
130
  ## 💡 How to generate beautiful QR codes
131
-
132
  We use the QR code image as the initial image **and** the control image, which allows you to generate
133
  QR Codes that blend in **very naturally** with your provided prompt.
134
  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.
135
  Use a high strength value between 0.8 and 0.95 and choose a conditioning scale between 0.6 and 2.0.
136
  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
137
  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.
138
-
139
  model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
140
-
141
  <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">
142
  <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>
143
  """
@@ -284,4 +280,4 @@ model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
284
  )
285
 
286
  blocks.queue(max_size=20,api_open=False)
287
- blocks.launch(share=bool(os.environ.get("SHARE", False)), show_api=False)
 
126
  gr.Markdown(
127
  """
128
  # QR Code AI Art Generator
 
129
  ## 💡 How to generate beautiful QR codes
 
130
  We use the QR code image as the initial image **and** the control image, which allows you to generate
131
  QR Codes that blend in **very naturally** with your provided prompt.
132
  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.
133
  Use a high strength value between 0.8 and 0.95 and choose a conditioning scale between 0.6 and 2.0.
134
  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
135
  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.
 
136
  model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
 
137
  <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">
138
  <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>
139
  """
 
280
  )
281
 
282
  blocks.queue(max_size=20,api_open=False)
283
+ blocks.launch(share=bool(os.environ.get("SHARE", False)), show_api=False)