Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -77,12 +77,6 @@ css="""
|
|
77 |
max-width: 520px;
|
78 |
}
|
79 |
"""
|
80 |
-
css+ = """
|
81 |
-
/* Add custom CSS if needed */
|
82 |
-
body {
|
83 |
-
background-color: #1c1c1e; /* Dark background color */
|
84 |
-
}
|
85 |
-
"""
|
86 |
|
87 |
styles = {k["name"]: k["prompt"] for k in style_list}
|
88 |
DEFAULT_STYLE_NAME = "Style Zero"
|
@@ -152,7 +146,7 @@ def load_predefined_images1():
|
|
152 |
]
|
153 |
return predefined_images1
|
154 |
|
155 |
-
with gr.Blocks(css=css,theme=gr.themes.Soft(primary_hue=gr.themes.colors.orange, secondary_hue=gr.themes.colors.blue
|
156 |
|
157 |
with gr.Column(elem_id="col-container"):
|
158 |
gr.Markdown(f"""# FLUX.1 SIM""")
|
|
|
77 |
max-width: 520px;
|
78 |
}
|
79 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
styles = {k["name"]: k["prompt"] for k in style_list}
|
82 |
DEFAULT_STYLE_NAME = "Style Zero"
|
|
|
146 |
]
|
147 |
return predefined_images1
|
148 |
|
149 |
+
with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue=gr.themes.colors.orange, secondary_hue=gr.themes.colors.blue)) as demo:
|
150 |
|
151 |
with gr.Column(elem_id="col-container"):
|
152 |
gr.Markdown(f"""# FLUX.1 SIM""")
|