Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,15 +68,17 @@ def query(prompt, is_negative=False, steps=35, cfg_scale=7, sampler="DPM++ 2M Ka
|
|
| 68 |
|
| 69 |
# CSS to style the app
|
| 70 |
css = """
|
|
|
|
|
|
|
| 71 |
#app-container {
|
| 72 |
-
max-width:
|
| 73 |
margin-left: auto;
|
| 74 |
margin-right: auto;
|
| 75 |
}
|
| 76 |
"""
|
| 77 |
|
| 78 |
# Build the Gradio UI with Blocks
|
| 79 |
-
with gr.Blocks(theme=
|
| 80 |
# Add a title to the app
|
| 81 |
gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
|
| 82 |
|
|
|
|
| 68 |
|
| 69 |
# CSS to style the app
|
| 70 |
css = """
|
| 71 |
+
.gradio-container {background-color: MediumAquaMarine}
|
| 72 |
+
footer{display:none !important}
|
| 73 |
#app-container {
|
| 74 |
+
max-width: 930px;
|
| 75 |
margin-left: auto;
|
| 76 |
margin-right: auto;
|
| 77 |
}
|
| 78 |
"""
|
| 79 |
|
| 80 |
# Build the Gradio UI with Blocks
|
| 81 |
+
with gr.Blocks(theme=theme, css=css) as app:
|
| 82 |
# Add a title to the app
|
| 83 |
gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
|
| 84 |
|