fizzarif7 commited on
Commit
46010ab
·
verified ·
1 Parent(s): f86bb41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -1
app.py CHANGED
@@ -397,6 +397,31 @@ with gr.Blocks(
397
  font-weight: 600;
398
  font-size: 1.2rem;
399
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
  #output {
401
  background: #fff0f5;
402
  border: 2px dashed #004c4c;
@@ -504,7 +529,7 @@ with gr.Blocks(
504
  with gr.Row(elem_classes="custom-rows"):
505
  char_styles = gr.Textbox(label="🧥 Outfit Descriptions", placeholder="e.g. Elora wears a leafy cloak, Bramble has a warrior vest", elem_id="textarea")
506
  char_moods = gr.Textbox(label="😠 Character Moods", placeholder="e.g. Elora is cautious, Bramble is brave", elem_id="textarea")
507
- bg_style = gr.Dropdown(label="🎨 Background Style", choices=["Realistic", "Cartoon", "Fantasy", "Dark Fantasy"], value="Fantasy")
508
  with gr.Group(elem_id="accordion"):
509
  with gr.Row(elem_classes="custom-rows"):
510
  with gr.Row(elem_classes="custom-rows"):
 
397
  font-weight: 600;
398
  font-size: 1.2rem;
399
  }
400
+ #custom-dropdown select {
401
+ background-color: #d5f2ee;
402
+ border: 2px solid #008080;
403
+ border-radius: 10px;
404
+ padding: 10px 12px;
405
+ font-size: 1rem;
406
+ color: #004c4c;
407
+ font-weight: 600;
408
+ transition: all 0.3s ease-in-out;
409
+ box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
410
+ }
411
+
412
+ #custom-dropdown select:focus {
413
+ outline: none;
414
+ border-color: #00a3a3;
415
+ box-shadow: 0 0 8px rgba(0, 163, 163, 0.3);
416
+ background-color: #d5f2ee;
417
+ }
418
+
419
+ #custom-dropdown label {
420
+ font-weight: bold;
421
+ color: #2e4053;
422
+ margin-bottom: 6px;
423
+ }
424
+
425
  #output {
426
  background: #fff0f5;
427
  border: 2px dashed #004c4c;
 
529
  with gr.Row(elem_classes="custom-rows"):
530
  char_styles = gr.Textbox(label="🧥 Outfit Descriptions", placeholder="e.g. Elora wears a leafy cloak, Bramble has a warrior vest", elem_id="textarea")
531
  char_moods = gr.Textbox(label="😠 Character Moods", placeholder="e.g. Elora is cautious, Bramble is brave", elem_id="textarea")
532
+ bg_style = gr.Dropdown(label="🎨 Background Style", choices=["Realistic", "Cartoon", "Fantasy", "Dark Fantasy"], value="Fantasy", elem_id="custom-dropdown")
533
  with gr.Group(elem_id="accordion"):
534
  with gr.Row(elem_classes="custom-rows"):
535
  with gr.Row(elem_classes="custom-rows"):