justinkay commited on
Commit
ec209fa
·
1 Parent(s): aac60bf
Files changed (1) hide show
  1. app.py +19 -2
app.py CHANGED
@@ -527,6 +527,23 @@ with gr.Blocks(title="CODA: Wildlife Photo Classification Challenge",
527
  background-color: var(--background-fill-secondary) !important;
528
  }
529
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
530
  /* Popup overlay styles */
531
  .popup-overlay {
532
  position: fixed;
@@ -898,14 +915,14 @@ with gr.Blocks(title="CODA: Wildlife Photo Classification Challenge",
898
  # Create buttons for each species
899
  species_buttons = []
900
  for species_name in SPECIES_MAP.values():
901
- btn = gr.Button(species_name, variant="secondary", size="lg")
902
  species_buttons.append(btn)
903
 
904
  # Add "I don't know" button
905
  idk_button = gr.Button("I don't know", variant="primary", size="lg")
906
 
907
  # Model predictions panel (full width, single line)
908
- with gr.Group(elem_classes="subtle-outline"):
909
  with gr.Column(elem_classes="flex items-center justify-center h-full"):
910
  model_predictions_display = gr.Markdown(
911
  "### Model Predictions\n\n*Start the demo to see model votes!*",
 
527
  background-color: var(--background-fill-secondary) !important;
528
  }
529
 
530
+ /* Light blue background for model predictions panel */
531
+ .model-predictions-panel {
532
+ border: 1px solid #6B8CBF !important;
533
+ background: #D6E4F5 !important;
534
+ border-radius: var(--radius-lg);
535
+ padding: 0.3rem !important;
536
+ margin: 0.2rem 0 !important;
537
+ }
538
+ .model-predictions-panel .flex {
539
+ background-color: #D6E4F5 !important;
540
+ padding: 0 !important;
541
+ margin: 0 !important;
542
+ }
543
+ .model-predictions-panel * {
544
+ color: #1a1a1a !important;
545
+ }
546
+
547
  /* Popup overlay styles */
548
  .popup-overlay {
549
  position: fixed;
 
915
  # Create buttons for each species
916
  species_buttons = []
917
  for species_name in SPECIES_MAP.values():
918
+ btn = gr.Button(species_name, variant="primary", size="lg")
919
  species_buttons.append(btn)
920
 
921
  # Add "I don't know" button
922
  idk_button = gr.Button("I don't know", variant="primary", size="lg")
923
 
924
  # Model predictions panel (full width, single line)
925
+ with gr.Group(elem_classes="model-predictions-panel"):
926
  with gr.Column(elem_classes="flex items-center justify-center h-full"):
927
  model_predictions_display = gr.Markdown(
928
  "### Model Predictions\n\n*Start the demo to see model votes!*",