Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,14 +124,6 @@ custom_css = """
|
|
| 124 |
margin-bottom: 20px;
|
| 125 |
background-color: #f9f9f9;
|
| 126 |
}
|
| 127 |
-
.submit-btn {
|
| 128 |
-
background: linear-gradient(90deg, #4B79A1 0%, #283E51 100%) !important;
|
| 129 |
-
border: none !important;
|
| 130 |
-
color: white !important;
|
| 131 |
-
}
|
| 132 |
-
.submit-btn:hover {
|
| 133 |
-
background-color: #3498db !important;
|
| 134 |
-
}
|
| 135 |
"""
|
| 136 |
|
| 137 |
title = """<h1 align="center">FLUX.1-dev with Qwen2VL Captioner and Prompt Enhancer</h1>
|
|
@@ -161,7 +153,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 161 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=15, step=0.1, value=3.5)
|
| 162 |
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=50, step=1, value=32)
|
| 163 |
|
| 164 |
-
generate_btn = gr.Button("Generate Image Prompt"
|
| 165 |
|
| 166 |
with gr.Column(scale=1):
|
| 167 |
with gr.Group(elem_classes="output-group"):
|
|
|
|
| 124 |
margin-bottom: 20px;
|
| 125 |
background-color: #f9f9f9;
|
| 126 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
"""
|
| 128 |
|
| 129 |
title = """<h1 align="center">FLUX.1-dev with Qwen2VL Captioner and Prompt Enhancer</h1>
|
|
|
|
| 153 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=15, step=0.1, value=3.5)
|
| 154 |
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=50, step=1, value=32)
|
| 155 |
|
| 156 |
+
generate_btn = gr.Button("Generate Image Prompt")
|
| 157 |
|
| 158 |
with gr.Column(scale=1):
|
| 159 |
with gr.Group(elem_classes="output-group"):
|