Spaces:
Runtime error
Runtime error
add style
Browse files
app.py
CHANGED
@@ -283,8 +283,22 @@ def open_link(link):
|
|
283 |
return link
|
284 |
##default human
|
285 |
seafoam = Seafoam()
|
286 |
-
|
287 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
with image_blocks as demo:
|
289 |
gr.HTML("<center><h1>Sheekify ποΈπππ</h1></center>")
|
290 |
gr.HTML("<center><p>Upload an image of yourself or select from examples then describe your garment in the text box and wait for the magic. β¨</p></center>")
|
|
|
283 |
return link
|
284 |
##default human
|
285 |
seafoam = Seafoam()
|
286 |
+
# Include the CSS file content in your Gradio interface
|
287 |
+
custom_css = """
|
288 |
+
body, .gradio-container {
|
289 |
+
background-color: #168f79; /* Light green background */
|
290 |
+
color: black; /* Black text */
|
291 |
+
}
|
292 |
+
|
293 |
+
.gr-block {
|
294 |
+
background-color: #00a49c; /* Light green background */
|
295 |
+
color: black; /* Black text */
|
296 |
+
padding: 10px; /* Optional: Add some padding for spacing */
|
297 |
+
border-radius: 5px; /* Optional: Rounded corners for blocks */
|
298 |
+
}
|
299 |
+
|
300 |
+
"""
|
301 |
+
image_blocks = gr.Blocks(css=custom_css).queue()
|
302 |
with image_blocks as demo:
|
303 |
gr.HTML("<center><h1>Sheekify ποΈπππ</h1></center>")
|
304 |
gr.HTML("<center><p>Upload an image of yourself or select from examples then describe your garment in the text box and wait for the magic. β¨</p></center>")
|