WatchOutForMike commited on
Commit
6507406
·
1 Parent(s): 458dd48
Files changed (1) hide show
  1. app.py +8 -42
app.py CHANGED
@@ -244,62 +244,28 @@ css = """
244
  body {
245
  background-color: #1b1b1b;
246
  font-family: 'Cinzel', serif;
247
- color: #f4a261; /* Updated font color */
248
  background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
249
  }
250
  #col-container {
251
  margin: 0 auto;
252
  max-width: 550px;
253
  padding: 15px;
254
- border: 4px solid #8b4513; /* A deep brown border for a medieval feel */
255
- background: linear-gradient(145deg, #2e2b2a, #3a3433); /* Subtle texture effect */
256
  border-radius: 15px;
257
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
258
  }
259
-
260
- h1, h2, h3 {
261
- color: #f4a261; /* Ensure headers also use this color */
262
- text-align: center;
263
- font-family: 'Cinzel', serif;
264
- }
265
-
266
- button, .gr-button {
267
- background-color: #3a3433;
268
- color: #f4a261; /* Matches the overall theme */
269
- border: 2px solid #8b4513;
270
- border-radius: 10px;
271
- padding: 10px;
272
- font-family: 'Cinzel', serif;
273
- font-weight: bold;
274
- box-shadow: 0 4px 15px rgba(139, 69, 19, 0.5);
275
- }
276
-
277
- button:hover, .gr-button:hover {
278
- background-color: #8b4513; /* Deep brown hover effect */
279
- color: #1b1b1b;
280
- }
281
-
282
- label {
283
- color: #f4a261; /* Form labels use the same themed color */
284
- font-family: 'Cinzel', serif;
285
- }
286
-
287
- textarea, input, select {
288
- background-color: #2e2b2a; /* Matches the overall form styling */
289
- color: #f4a261;
290
- border: 1px solid #8b4513;
291
- border-radius: 5px;
292
- font-family: 'Cinzel', serif;
293
- padding: 8px;
294
- }
295
  """
 
296
  # Interface
297
  with gr.Blocks(css=css) as demo:
298
  with gr.Column(elem_id="col-container"):
299
  # Title and Description
300
  gr.Markdown(
301
  """
302
- # 🛡️ ChatDnD.net Image Generator ⚔️
 
303
  **Unleash Your Imagination!** Create heroes, maps, quests, and epic scenes to bring your campaigns to life.
304
  Tailored for adventurers seeking inspiration or Dungeon Masters constructing their next grand story. <br>
305
  [Visit Our Website](https://chatdnd.net) | [Support Us](https://buymeacoffee.com/watchoutformike)
@@ -311,7 +277,7 @@ with gr.Blocks(css=css) as demo:
311
  prompt = gr.Textbox(
312
  label="🎲 Describe Your Vision:",
313
  lines=3,
314
- placeholder="Describe your hero, monster, or legendary landscape...",
315
  )
316
  style = gr.Dropdown(
317
  label="🎨 Select a Style",
@@ -377,4 +343,4 @@ with gr.Blocks(css=css) as demo:
377
  )
378
 
379
  # Launch the demo
380
- demo.launch()
 
244
  body {
245
  background-color: #1b1b1b;
246
  font-family: 'Cinzel', serif;
247
+ color: #f4a261;
248
  background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
249
  }
250
  #col-container {
251
  margin: 0 auto;
252
  max-width: 550px;
253
  padding: 15px;
254
+ border: 4px solid #8b4513;
255
+ background: linear-gradient(145deg, #2e2b2a, #3a3433);
256
  border-radius: 15px;
257
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
258
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  """
260
+
261
  # Interface
262
  with gr.Blocks(css=css) as demo:
263
  with gr.Column(elem_id="col-container"):
264
  # Title and Description
265
  gr.Markdown(
266
  """
267
+ # 🛡️ ChatDnD.net 🛡️
268
+ # ⚔️ Dungeons & Dragons Image Generator ⚔️
269
  **Unleash Your Imagination!** Create heroes, maps, quests, and epic scenes to bring your campaigns to life.
270
  Tailored for adventurers seeking inspiration or Dungeon Masters constructing their next grand story. <br>
271
  [Visit Our Website](https://chatdnd.net) | [Support Us](https://buymeacoffee.com/watchoutformike)
 
277
  prompt = gr.Textbox(
278
  label="🎲 Describe Your Vision:",
279
  lines=3,
280
+ placeholder="Describe your hero, monster, or legendary landscape..."
281
  )
282
  style = gr.Dropdown(
283
  label="🎨 Select a Style",
 
343
  )
344
 
345
  # Launch the demo
346
+ demo.launch()