Update app.py
Browse files
app.py
CHANGED
|
@@ -250,13 +250,15 @@ def inpaint(image, invert):
|
|
| 250 |
# return im["inputmask"] # bad
|
| 251 |
# return im["layers"][0]
|
| 252 |
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
|
|
|
| 258 |
|
| 259 |
-
|
|
|
|
| 260 |
|
| 261 |
with block:
|
| 262 |
gr.Markdown(DESCRIPTION)
|
|
|
|
| 250 |
# return im["inputmask"] # bad
|
| 251 |
# return im["layers"][0]
|
| 252 |
|
| 253 |
+
custom_theme = gr.themes.Soft(primary_hue="blue").set(
|
| 254 |
+
button_secondary_background_fill="*neutral_100",
|
| 255 |
+
button_secondary_background_fill_hover="*neutral_200")
|
| 256 |
+
custom_css = '''#disp_image {
|
| 257 |
+
text-align: center; /* Horizontally center the content */
|
| 258 |
+
}'''
|
| 259 |
|
| 260 |
+
|
| 261 |
+
block = gr.Blocks(theme=custom_theme, css=custom_css).queue()
|
| 262 |
|
| 263 |
with block:
|
| 264 |
gr.Markdown(DESCRIPTION)
|