linoyts HF Staff commited on
Commit
6bc6bb4
·
verified ·
1 Parent(s): 6e3ce65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -3
app.py CHANGED
@@ -63,9 +63,18 @@ def generate_image(prompt, height, width, num_inference_steps, seed=42, randomiz
63
  examples = [
64
  ["A dramatic close-up high-fashion portrait with avant-garde futuristic styling, metallic accents, sculptural makeup, glowing rim light, hyperreal detail, cool-toned color palette, glossy finish, fashion campaign quality."],
65
  ]
66
- css = '''#col-container { max-width: 950px; margin: 0 auto; }
67
- .dark .progress-text{color: white !important}
68
- #examples{max-width: 950px; margin: 0 auto; }'''
 
 
 
 
 
 
 
 
 
69
  # Build the Gradio interface
70
  with gr.Blocks() as demo:
71
 
@@ -136,6 +145,7 @@ with gr.Blocks() as demo:
136
  examples=examples,
137
  inputs=[prompt],
138
  cache_examples=False,
 
139
  )
140
 
141
 
 
63
  examples = [
64
  ["A dramatic close-up high-fashion portrait with avant-garde futuristic styling, metallic accents, sculptural makeup, glowing rim light, hyperreal detail, cool-toned color palette, glossy finish, fashion campaign quality."],
65
  ]
66
+ css = """
67
+ #col-container { max-width: 950px; margin: 0 auto; }
68
+ .dark .progress-text { color: white !important; }
69
+
70
+ #examples { max-width: 950px; margin: 0 auto; }
71
+
72
+ .dark #examples button,
73
+ .dark #examples .example,
74
+ .dark #examples span {
75
+ color: white !important;
76
+ }
77
+ """
78
  # Build the Gradio interface
79
  with gr.Blocks() as demo:
80
 
 
145
  examples=examples,
146
  inputs=[prompt],
147
  cache_examples=False,
148
+ elem_id="examples",
149
  )
150
 
151