zenafey commited on
Commit
aa45a21
·
1 Parent(s): 8ea49e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -54,7 +54,15 @@ def process_input_control(init, prompt, negative_prompt, steps, cfg_scale, numbe
54
  return images
55
  """
56
 
57
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
58
  gr.Markdown("""
59
  # Prodia API web-ui by @zenafey
60
 
 
54
  return images
55
  """
56
 
57
+ theme = gr.themes.Base(
58
+ primary_hue=gr.themes.Color(primary_100="#dbeafe", primary_200="#bfdbfe", primary_300="#93c5fd", primary_400="#60a5fa", primary_50="#eff6ff", primary_500="#3b82f6", primary_600="#2563eb", primary_700="#fb3657", primary_800="#1e40af", primary_900="#1e3a8a", primary_950="#1d3660"),
59
+ neutral_hue=gr.themes.Color(neutral_100="#e0e7ff", neutral_200="#c7d2fe", neutral_300="#3c4367", neutral_400="#b5b5b5", neutral_50="#eef2ff", neutral_500="#050761", neutral_600="#221935", neutral_700="#09001b", neutral_800="#0f0e27", neutral_900="#0f0e27", neutral_950="#09001b"),
60
+ ).set(
61
+ block_background_fill='*background_fill_secondary'
62
+ )
63
+
64
+
65
+ with gr.Blocks(theme=theme) as demo:
66
  gr.Markdown("""
67
  # Prodia API web-ui by @zenafey
68