Severian commited on
Commit
5704bfb
Β·
verified Β·
1 Parent(s): d047517

Update app.py

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