Update app.py
Browse files
app.py
CHANGED
|
@@ -179,10 +179,10 @@ def update_dimensions_on_upload(image):
|
|
| 179 |
|
| 180 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
| 181 |
with gr.Column(elem_id="col-container"):
|
| 182 |
-
gr.Markdown("# 🎨 Photo to
|
| 183 |
gr.Markdown(
|
| 184 |
"""
|
| 185 |
-
Transform your photos into
|
| 186 |
<br>
|
| 187 |
<div style='text-align: center; margin-top: 1rem;'>
|
| 188 |
<a href='https://huggingface.co/spaces/akhaliq/anycoder' target='_blank' style='color: #0071e3; text-decoration: none; font-weight: 500;'>Built with anycoder</a>
|
|
@@ -207,11 +207,11 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 207 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024, visible=False)
|
| 208 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024, visible=False)
|
| 209 |
|
| 210 |
-
convert_btn = gr.Button("Convert to
|
| 211 |
|
| 212 |
with gr.Column(scale=1):
|
| 213 |
result = gr.Image(
|
| 214 |
-
label="
|
| 215 |
interactive=False,
|
| 216 |
elem_classes="image-container"
|
| 217 |
)
|
|
|
|
| 179 |
|
| 180 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
| 181 |
with gr.Column(elem_id="col-container"):
|
| 182 |
+
gr.Markdown("# 🎨 Photo to Chibi", elem_id="title")
|
| 183 |
gr.Markdown(
|
| 184 |
"""
|
| 185 |
+
Transform your photos into Chibi-style images ✨
|
| 186 |
<br>
|
| 187 |
<div style='text-align: center; margin-top: 1rem;'>
|
| 188 |
<a href='https://huggingface.co/spaces/akhaliq/anycoder' target='_blank' style='color: #0071e3; text-decoration: none; font-weight: 500;'>Built with anycoder</a>
|
|
|
|
| 207 |
height = gr.Slider(label="Height", minimum=256, maximum=2048, step=8, value=1024, visible=False)
|
| 208 |
width = gr.Slider(label="Width", minimum=256, maximum=2048, step=8, value=1024, visible=False)
|
| 209 |
|
| 210 |
+
convert_btn = gr.Button("Convert to Chibi", variant="primary", elem_id="convert-btn", size="lg")
|
| 211 |
|
| 212 |
with gr.Column(scale=1):
|
| 213 |
result = gr.Image(
|
| 214 |
+
label="Chibi Result",
|
| 215 |
interactive=False,
|
| 216 |
elem_classes="image-container"
|
| 217 |
)
|