Spaces:
Running
on
Zero
Running
on
Zero
UI Update
Browse files- app.py +4 -3
- style_20250314.css +1 -0
app.py
CHANGED
|
@@ -1119,9 +1119,10 @@ with gr.Blocks(css_paths="style_20250314.css", title=title, theme='Surn/beeuty',
|
|
| 1119 |
with gr.Row():
|
| 1120 |
gr.Markdown("""
|
| 1121 |
# HexaGrid Creator
|
| 1122 |
-
## Transform Your Images into Mesmerizing Hexagon Grid Masterpieces! ⬢
|
|
|
|
| 1123 |
with gr.Row():
|
| 1124 |
-
with gr.Accordion("
|
| 1125 |
gr.Markdown ("""
|
| 1126 |
|
| 1127 |
## Drop an image into the Input Image and get started!
|
|
@@ -1200,7 +1201,7 @@ with gr.Blocks(css_paths="style_20250314.css", title=title, theme='Surn/beeuty',
|
|
| 1200 |
with gr.Row():
|
| 1201 |
sketch_alpha_composite_slider = gr.Slider(0,100,50,0.5, label="Sketch Transparancy", elem_id="alpha_composite_slider")
|
| 1202 |
btn_sketch_alpha_composite = gr.Button("Overlay Sketch on Input Image", elem_id="btn_sketchninput", elem_classes="solid")
|
| 1203 |
-
gr.Markdown("### <span style='color: red; font-style: bolder;'>Click the pencil to start drawing.</span><br/>Do Not add to image if using a fill model. Black is replaced by fill model.", elem_classes="centered")
|
| 1204 |
|
| 1205 |
with gr.Column(scale=1, elem_id="filters"):
|
| 1206 |
with gr.Accordion("Image Filters (optional, fun)", open = False):
|
|
|
|
| 1119 |
with gr.Row():
|
| 1120 |
gr.Markdown("""
|
| 1121 |
# HexaGrid Creator
|
| 1122 |
+
## Transform Your Images into Mesmerizing Hexagon Grid Masterpieces! ⬢
|
| 1123 |
+
### <span style='color: red; font-style: bolder;'>BEST VIEWED ON DESKTOP</span>""", elem_classes="intro", sanitize_html=False)
|
| 1124 |
with gr.Row():
|
| 1125 |
+
with gr.Accordion(" Welcome to HexaGrid Creator, the ultimate tool for transforming your images into stunning hexagon grid artworks. Whether you're a tabletop game enthusiast, a digital artist, or someone who loves unique patterns, HexaGrid Creator has something for you.", open=False, elem_classes="intro"):
|
| 1126 |
gr.Markdown ("""
|
| 1127 |
|
| 1128 |
## Drop an image into the Input Image and get started!
|
|
|
|
| 1201 |
with gr.Row():
|
| 1202 |
sketch_alpha_composite_slider = gr.Slider(0,100,50,0.5, label="Sketch Transparancy", elem_id="alpha_composite_slider")
|
| 1203 |
btn_sketch_alpha_composite = gr.Button("Overlay Sketch on Input Image", elem_id="btn_sketchninput", elem_classes="solid")
|
| 1204 |
+
gr.Markdown("### <span style='color: red; font-style: bolder;'>Click the pencil to start drawing.</span><br/>Do Not add to image if using a fill model. Black is replaced by fill model.", elem_classes="centered",sanitize_html=False)
|
| 1205 |
|
| 1206 |
with gr.Column(scale=1, elem_id="filters"):
|
| 1207 |
with gr.Accordion("Image Filters (optional, fun)", open = False):
|
style_20250314.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
.centered {
|
| 7 |
margin: 0 auto;
|
| 8 |
display: block;
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
.solid {
|
|
|
|
| 6 |
.centered {
|
| 7 |
margin: 0 auto;
|
| 8 |
display: block;
|
| 9 |
+
text-align:center;
|
| 10 |
}
|
| 11 |
|
| 12 |
.solid {
|