prithivMLmods commited on
Commit
2da79de
·
verified ·
1 Parent(s): ab05219

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -133,7 +133,8 @@ custom_css = """
133
  background-color: #f9f9f9;
134
  }
135
  .submit-btn {
136
- background-color: #2980b9 !important;
 
137
  color: white !important;
138
  }
139
  .submit-btn:hover {
@@ -150,7 +151,7 @@ title = """<h1 align="center">FLUX.1-dev with Qwen2VL Captioner and Prompt Enhan
150
  </center></p>
151
  """
152
 
153
- with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) as demo:
154
  gr.HTML(title)
155
 
156
  with gr.Row():
@@ -168,7 +169,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="blue", secondar
168
  guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=15, step=0.1, value=3.5)
169
  num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=50, step=1, value=20) # Reduced default steps
170
 
171
- generate_btn = gr.Button("Generate Image", elem_classes="submit-btn")
172
 
173
  with gr.Column(scale=1):
174
  with gr.Group(elem_classes="output-group"):
 
133
  background-color: #f9f9f9;
134
  }
135
  .submit-btn {
136
+ background: linear-gradient(90deg, #4B79A1 0%, #283E51 100%) !important;
137
+ border: none !important;
138
  color: white !important;
139
  }
140
  .submit-btn:hover {
 
151
  </center></p>
152
  """
153
 
154
+ with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="red", secondary_hue="gray")) as demo:
155
  gr.HTML(title)
156
 
157
  with gr.Row():
 
169
  guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=15, step=0.1, value=3.5)
170
  num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=50, step=1, value=20) # Reduced default steps
171
 
172
+ generate_btn = gr.Button("Generate Image + Prompt Enhanced", elem_classes="submit-btn")
173
 
174
  with gr.Column(scale=1):
175
  with gr.Group(elem_classes="output-group"):