estusgroup commited on
Commit
e722b46
·
1 Parent(s): 78e17f2

Update app.py

Browse files

edited desc and settings

Files changed (1) hide show
  1. app.py +25 -24
app.py CHANGED
@@ -1,8 +1,8 @@
1
  #Created for https://www.aiqrgenerator.com/ as a public beta version for embedding.
 
2
  #May update again but will probably remain the final public version as I am still working on features and consider this a minimum viable product
3
  #Further updates and custom models will be updated privately.
4
 
5
- #Please ensure
6
 
7
 
8
  #derivative and edited from QR-code-AI-art-generator by patrickvonplaten - customized AND COPYRIGHTED UNDER COMMERCIAL LICENSE
@@ -167,36 +167,23 @@ def inference(
167
  with gr.Blocks() as blocks:
168
  gr.Markdown(
169
  """
170
- ======================================CREATED FOR https://www.aiqrgenerator.com/ EARLY BETA - PUBLIC ACCESS V1.02============================================
171
-
172
- ==================***DISCLAIMER - By using this model you agree to waive any liability and are assuming all responsibility for generated images.***==================
173
- ===============================================================================================================================================================
174
-
175
-
176
  First, type in what you want the QR code to look like. Use major subjects seperated by commas like the example below - you can even include styles!
177
  Ex. Mountian, snow, morning, trees, artist, oil painting, canvas
178
 
179
  Then, type your QR code information such as a website link or enter your own QR code.
180
 
181
- Feel free to test custom settings as well to tweak the look.
182
 
183
- Hit generate!
184
 
185
 
186
- ===========================================================CUSTOM SETTINGS====================================================================================
187
- The default settings should work for testing. Currently working on improving the model and offering more customization!
188
-
189
- **QR High Pass** - Change this to affect how much the QR code is overlayed to your image in a second pass. Controlnet model.
190
- (Higher setting is more QR code, lower setting is less QR code.)
191
-
192
- **QR Initial Weight** - Change this to affect how much your image starts looking like a QR code!
193
- (Higher settings mean your image starts with less QR, lower means the QR will appear sharper)
194
-
195
- **Prompt Weight** - This determines how much the AI "Listens" to your prompt and try to put what you described into your image.
196
- (Lower means it is more absract and higher follows your directions more.)
197
-
198
- **Seed** - This is a randomizer! Use the same seed to generate the same image over and over. Change the seed to change up your image!
199
- (Set it to negative -1 to randomize, you can copy your seed from a previous generation to get the same image)
200
 
201
  """
202
  )
@@ -241,7 +228,7 @@ The default settings should work for testing. Currently working on improving the
241
  #use_qr_code_as_init_image.change(change_view, inputs=[use_qr_code_as_init_image], outputs=[init_image_acc])
242
 
243
  with gr.Accordion(
244
- label="You can modify the generation slightly using the below sliders. See details above. \n ",
245
  open=True,
246
  ):
247
  controlnet_conditioning_scale = gr.Slider(
@@ -290,6 +277,20 @@ The default settings should work for testing. Currently working on improving the
290
  sampler,
291
  ],
292
  outputs=[result_image],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  )
294
 
295
 
 
1
  #Created for https://www.aiqrgenerator.com/ as a public beta version for embedding.
2
+ #I wanted to make the model more accessable for common users and public facing. Feel free to check it out or share at https://www.aiqrgenerator.com/generator.
3
  #May update again but will probably remain the final public version as I am still working on features and consider this a minimum viable product
4
  #Further updates and custom models will be updated privately.
5
 
 
6
 
7
 
8
  #derivative and edited from QR-code-AI-art-generator by patrickvonplaten - customized AND COPYRIGHTED UNDER COMMERCIAL LICENSE
 
167
  with gr.Blocks() as blocks:
168
  gr.Markdown(
169
  """
170
+ # CREATED FOR https://www.aiqrgenerator.com/ EARLY BETA - PUBLIC ACCESS V1.02
171
+ ==========================**DISCLAIMER - By using this model you agree to waive any liability and are assuming all responsibility for generated images.**==========================
172
+
173
+
174
+
 
175
  First, type in what you want the QR code to look like. Use major subjects seperated by commas like the example below - you can even include styles!
176
  Ex. Mountian, snow, morning, trees, artist, oil painting, canvas
177
 
178
  Then, type your QR code information such as a website link or enter your own QR code.
179
 
180
+ Feel free to test custom settings as well to tweak or try changing your prompt.
181
 
182
+ **Hit run!**
183
 
184
 
185
+ ==============================================================================================================================================================================
186
+
 
 
 
 
 
 
 
 
 
 
 
 
187
 
188
  """
189
  )
 
228
  #use_qr_code_as_init_image.change(change_view, inputs=[use_qr_code_as_init_image], outputs=[init_image_acc])
229
 
230
  with gr.Accordion(
231
+ label="You can modify the generation slightly using the below sliders. See details below. \n ",
232
  open=True,
233
  ):
234
  controlnet_conditioning_scale = gr.Slider(
 
277
  sampler,
278
  ],
279
  outputs=[result_image],
280
+ gr.Markdown("""
281
+ ### Settings Details
282
+ **QR High Pass** - Change this to affect how much the QR code is overlayed to your image in a second pass. Controlnet model.
283
+ (Higher setting is more QR code, lower setting is less QR code.)
284
+
285
+ **QR Initial Weight** - Change this to affect how much your image starts looking like a QR code!
286
+ (Higher settings mean your image starts with less QR, lower means the QR will appear sharper)
287
+
288
+ **Prompt Weight** - This determines how much the AI "Listens" to your prompt and try to put what you described into your image.
289
+ (Lower means it is more absract and higher follows your directions more.)
290
+
291
+ **Seed** - This is a randomizer! Use the same seed to generate the same image over and over. Change the seed to change up your image!
292
+ (Set it to negative -1 to randomize, you can copy your seed from a previous generation to get the same image)
293
+ """)
294
  )
295
 
296