Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -200,10 +200,10 @@ with gr.Blocks() as blocks:
|
|
200 |
)
|
201 |
gr.Markdown(
|
202 |
"""Balance between QR code clarity and artistic integration:
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
Start at 1.1 and adjust to find your perfect balance."""
|
207 |
)
|
208 |
strength = gr.Slider(
|
209 |
minimum=0.0,
|
@@ -214,10 +214,10 @@ with gr.Blocks() as blocks:
|
|
214 |
)
|
215 |
gr.Markdown(
|
216 |
"""Controls how much the AI can alter the QR code:
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
Begin with 0.9 for a creative yet functional result."""
|
221 |
)
|
222 |
guidance_scale = gr.Slider(
|
223 |
minimum=0.0,
|
@@ -228,10 +228,10 @@ with gr.Blocks() as blocks:
|
|
228 |
)
|
229 |
gr.Markdown(
|
230 |
"""Determines how closely the AI follows your prompt:
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
Start at 7.5 and adjust based on your desired outcome."""
|
235 |
)
|
236 |
sampler = gr.Dropdown(
|
237 |
choices=list(SAMPLER_MAP.keys()),
|
@@ -240,10 +240,10 @@ with gr.Blocks() as blocks:
|
|
240 |
)
|
241 |
gr.Markdown(
|
242 |
"""Different methods for creating your QR art:
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
Experiment to find what works best for your vision!"""
|
247 |
)
|
248 |
seed = gr.Slider(
|
249 |
minimum=-1,
|
@@ -255,9 +255,9 @@ with gr.Blocks() as blocks:
|
|
255 |
)
|
256 |
gr.Markdown(
|
257 |
"""Controls the randomness in art creation:
|
258 |
-
|
259 |
-
|
260 |
-
Use -1 to explore, or set a specific number to refine a design you like.""",
|
261 |
)
|
262 |
with gr.Row():
|
263 |
run_btn = gr.Button("🎨 Create Your QR Art", variant="primary")
|
|
|
200 |
)
|
201 |
gr.Markdown(
|
202 |
"""Balance between QR code clarity and artistic integration:
|
203 |
+
- Lower (0.0-0.5): Subtle, may be hard to scan
|
204 |
+
- Middle (0.6-1.5): Good blend of art and function
|
205 |
+
- Higher (1.6-5.0): Very clear QR code, less artistic freedom
|
206 |
+
- Start at 1.1 and adjust to find your perfect balance."""
|
207 |
)
|
208 |
strength = gr.Slider(
|
209 |
minimum=0.0,
|
|
|
214 |
)
|
215 |
gr.Markdown(
|
216 |
"""Controls how much the AI can alter the QR code:
|
217 |
+
- Lower (0.0-0.3): Minimal changes, closer to standard QR
|
218 |
+
- Middle (0.4-0.7): Balanced artistic elements
|
219 |
+
- Higher (0.8-1.0): Maximum creativity, may affect scannability
|
220 |
+
- Begin with 0.9 for a creative yet functional result."""
|
221 |
)
|
222 |
guidance_scale = gr.Slider(
|
223 |
minimum=0.0,
|
|
|
228 |
)
|
229 |
gr.Markdown(
|
230 |
"""Determines how closely the AI follows your prompt:
|
231 |
+
- Lower (0-5): More AI creativity, less prompt influence
|
232 |
+
- Middle (5-15): Balanced between prompt and AI interpretation
|
233 |
+
- Higher (15+): Strictly follows prompt, less variation
|
234 |
+
- Start at 7.5 and adjust based on your desired outcome."""
|
235 |
)
|
236 |
sampler = gr.Dropdown(
|
237 |
choices=list(SAMPLER_MAP.keys()),
|
|
|
240 |
)
|
241 |
gr.Markdown(
|
242 |
"""Different methods for creating your QR art:
|
243 |
+
- DPM++ Karras SDE: Versatile, high-quality results
|
244 |
+
- Euler: Sharp, detailed images
|
245 |
+
- DDIM: Good for abstract or artistic styles
|
246 |
+
- Experiment to find what works best for your vision!"""
|
247 |
)
|
248 |
seed = gr.Slider(
|
249 |
minimum=-1,
|
|
|
255 |
)
|
256 |
gr.Markdown(
|
257 |
"""Controls the randomness in art creation:
|
258 |
+
- -1: New, unique creation each time
|
259 |
+
- Any other number: Recreates the same image consistently
|
260 |
+
- Use -1 to explore, or set a specific number to refine a design you like.""",
|
261 |
)
|
262 |
with gr.Row():
|
263 |
run_btn = gr.Button("🎨 Create Your QR Art", variant="primary")
|