Update app.py
Browse files
app.py
CHANGED
|
@@ -253,6 +253,9 @@ css = """
|
|
| 253 |
margin: 0 auto;
|
| 254 |
max-width: 640px;
|
| 255 |
}
|
|
|
|
|
|
|
|
|
|
| 256 |
"""
|
| 257 |
|
| 258 |
def repeat_infer(
|
|
@@ -286,7 +289,7 @@ def repeat_infer(
|
|
| 286 |
return result, seed, image_path, enhanced_prompt
|
| 287 |
|
| 288 |
|
| 289 |
-
with gr.Blocks(theme=gr.themes.Origin()) as demo:
|
| 290 |
with gr.Column(elem_id="col-container"):
|
| 291 |
gr.Markdown(" # Text-to-Text-to-Image StableDiffusion 3.5 Medium (with refine)")
|
| 292 |
expanded_prompt_output = gr.Textbox(label="Expanded Prompt", lines=5) # Add this line
|
|
|
|
| 253 |
margin: 0 auto;
|
| 254 |
max-width: 640px;
|
| 255 |
}
|
| 256 |
+
body {
|
| 257 |
+
background-color: darkblue;
|
| 258 |
+
}
|
| 259 |
"""
|
| 260 |
|
| 261 |
def repeat_infer(
|
|
|
|
| 289 |
return result, seed, image_path, enhanced_prompt
|
| 290 |
|
| 291 |
|
| 292 |
+
with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
| 293 |
with gr.Column(elem_id="col-container"):
|
| 294 |
gr.Markdown(" # Text-to-Text-to-Image StableDiffusion 3.5 Medium (with refine)")
|
| 295 |
expanded_prompt_output = gr.Textbox(label="Expanded Prompt", lines=5) # Add this line
|