Prof-Hunt commited on
Commit
2cebcc7
·
verified ·
1 Parent(s): 5f3f46a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -421,15 +421,14 @@ def add_text_to_scenes(gallery_images, prompts_text):
421
  return overlaid_images, output_files
422
 
423
  def create_interface():
424
- theme = gr.themes.Soft(
425
- primary_hue="lightblue",
426
- secondary_hue="red",
427
- neutral_hue="gray"
428
- ).set(
429
  button_primary_background_fill="rgb(173, 216, 230)", # light blue
430
  button_secondary_background_fill="rgb(255, 182, 193)", # light red
431
- button_primary_background_fill_dark="rgb(135, 206, 235)", # slightly darker blue for hover
432
- button_secondary_background_fill_dark="rgb(255, 160, 180)", # slightly darker red for hover
 
 
433
  )
434
 
435
  with gr.Blocks(theme=theme) as demo:
 
421
  return overlaid_images, output_files
422
 
423
  def create_interface():
424
+ theme = gr.themes.Soft().set(
425
+ body_background_fill="*primary_50",
 
 
 
426
  button_primary_background_fill="rgb(173, 216, 230)", # light blue
427
  button_secondary_background_fill="rgb(255, 182, 193)", # light red
428
+ button_primary_background_fill_hover="rgb(135, 206, 235)", # slightly darker blue for hover
429
+ button_secondary_background_fill_hover="rgb(255, 160, 180)", # slightly darker red for hover
430
+ block_title_text_color="*primary_500",
431
+ block_label_text_color="*secondary_500",
432
  )
433
 
434
  with gr.Blocks(theme=theme) as demo: