Severian commited on
Commit
e7b0676
Β·
verified Β·
1 Parent(s): dde12e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -8
app.py CHANGED
@@ -159,34 +159,45 @@ with gr.Blocks(css="""
159
  .gr-form-label {
160
  color: #ff0000;
161
  }
 
 
 
 
 
 
 
 
 
162
  """) as blocks:
163
  gr.Markdown(
164
  """
165
- <div style="text-align: center;">
166
 
167
-
168
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/_VyYxp5qE_nRZ_LJqBxmL.webp" alt="Yamamoto Logo" style="max-width: 200px; margin-bottom: 20px;">
169
 
170
- <h1 style="text-align: center;">🎨 Yamamoto QR Code Art Generator</h1>
171
-
172
- <h2 style="text-align: center;">Transform Your QR Codes into Brand Masterpieces</h2>
173
 
174
  Welcome to Yamamoto's innovative QR Code Art Generator! This cutting-edge tool empowers our creative team to craft
175
  visually stunning, on-brand QR codes that perfectly blend functionality with artistic expression.
176
 
177
- <h2 style="text-align: center;">πŸš€ How It Works:</h2>
 
178
  1. **Enter Your QR Code Content**: Start by inputting the URL or text for your QR code.
179
  2. **Craft Your Prompt**: Describe the artistic style or theme you envision for your QR code.
180
  3. **Fine-tune with Advanced Settings**: Adjust parameters to perfect your creation (see tips below).
181
  4. **Generate and Iterate**: Click 'Run' to create your art, then refine as needed.
182
 
183
- <h2 style="text-align: center;">🌟 Tips for Spectacular Results:</h2>
 
184
  - **Artistic Freedom**: Set between 0.8 and 0.95 for a balance of creativity and scannability.
185
  - **QR Code Visibility**: Aim for 0.6 to 2.0 to ensure your code is both artistic and functional.
186
  - **Prompt Crafting**: Use vivid, specific descriptions that align with your brand identity.
187
  - **Experimentation**: Don't hesitate to try different settings and prompts to find your perfect style!
188
 
189
- <h2 style="text-align: center;">🎭 Prompt Ideas to Spark Your Creativity:</h2>
 
190
  - "A serene Japanese garden with cherry blossoms and a koi pond"
191
  - "A futuristic cityscape with neon lights and flying cars"
192
  - "An abstract painting with swirling colors and geometric shapes"
 
159
  .gr-form-label {
160
  color: #ff0000;
161
  }
162
+ #markdown-content .center-content,
163
+ #markdown-content .center-content * {
164
+ text-align: center !important;
165
+ }
166
+ #markdown-content .center-content ul,
167
+ #markdown-content .center-content ol {
168
+ list-style-position: inside;
169
+ padding-left: 0;
170
+ }
171
  """) as blocks:
172
  gr.Markdown(
173
  """
174
+ <div class="center-content">
175
 
 
176
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/_VyYxp5qE_nRZ_LJqBxmL.webp" alt="Yamamoto Logo" style="max-width: 200px; margin-bottom: 20px;">
177
 
178
+ # 🎨 Yamamoto QR Code Art Generator
179
+
180
+ ## Transform Your QR Codes into Brand Masterpieces
181
 
182
  Welcome to Yamamoto's innovative QR Code Art Generator! This cutting-edge tool empowers our creative team to craft
183
  visually stunning, on-brand QR codes that perfectly blend functionality with artistic expression.
184
 
185
+ ## πŸš€ How It Works:
186
+
187
  1. **Enter Your QR Code Content**: Start by inputting the URL or text for your QR code.
188
  2. **Craft Your Prompt**: Describe the artistic style or theme you envision for your QR code.
189
  3. **Fine-tune with Advanced Settings**: Adjust parameters to perfect your creation (see tips below).
190
  4. **Generate and Iterate**: Click 'Run' to create your art, then refine as needed.
191
 
192
+ ## 🌟 Tips for Spectacular Results:
193
+
194
  - **Artistic Freedom**: Set between 0.8 and 0.95 for a balance of creativity and scannability.
195
  - **QR Code Visibility**: Aim for 0.6 to 2.0 to ensure your code is both artistic and functional.
196
  - **Prompt Crafting**: Use vivid, specific descriptions that align with your brand identity.
197
  - **Experimentation**: Don't hesitate to try different settings and prompts to find your perfect style!
198
 
199
+ ## 🎭 Prompt Ideas to Spark Your Creativity:
200
+
201
  - "A serene Japanese garden with cherry blossoms and a koi pond"
202
  - "A futuristic cityscape with neon lights and flying cars"
203
  - "An abstract painting with swirling colors and geometric shapes"