Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,77 +21,10 @@ iface = gr.Interface(
|
|
| 21 |
fn=remove_background,
|
| 22 |
inputs=gr.Image(label="Upload Image"),
|
| 23 |
outputs=gr.Image(label="Output Image"),
|
| 24 |
-
css=""
|
| 25 |
-
body {
|
| 26 |
-
font-family: 'Arial', sans-serif;
|
| 27 |
-
background-color: #1a1a2e;
|
| 28 |
-
color: #ffffff;
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
.gradio-container {
|
| 32 |
-
background-color: #1a1a2e;
|
| 33 |
-
color: #ffffff;
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
.gr-button {
|
| 37 |
-
background-color: #4CAF50;
|
| 38 |
-
color: white;
|
| 39 |
-
border: none;
|
| 40 |
-
border-radius: 4px;
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
.gr-button:hover {
|
| 44 |
-
background-color: #45a049;
|
| 45 |
-
}
|
| 46 |
-
|
| 47 |
-
.gr-input, .gr-output {
|
| 48 |
-
background-color: #2a2a3e;
|
| 49 |
-
color: #ffffff;
|
| 50 |
-
border: 1px solid #4a4a5e;
|
| 51 |
-
display: block;
|
| 52 |
-
margin: 0 auto;
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
.gr-input:focus, .gr-output:focus {
|
| 57 |
-
outline: none;
|
| 58 |
-
border-color: #6a6a7e;
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
.gr-file-upload {
|
| 62 |
-
background-color: #2a2a3e;
|
| 63 |
-
color: #ffffff;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
.gr-slider {
|
| 67 |
-
background-color: #2a2a3e;
|
| 68 |
-
color: #ffffff;
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
-
.gr-dropdown {
|
| 72 |
-
background-color: #2a2a3e;
|
| 73 |
-
color: #ffffff;
|
| 74 |
-
}
|
| 75 |
-
|
| 76 |
-
.gr-image-preview {
|
| 77 |
-
border: 2px solid #4a4a5e;
|
| 78 |
-
background-color: #2a2a3e;
|
| 79 |
-
}
|
| 80 |
-
|
| 81 |
-
.gr-textbox {
|
| 82 |
-
background-color: #2a2a3e;
|
| 83 |
-
color: #ffffff;
|
| 84 |
-
border: 1px solid #4a4a5e;
|
| 85 |
-
}
|
| 86 |
-
|
| 87 |
-
.gr-textbox:focus {
|
| 88 |
-
outline: none;
|
| 89 |
-
border-color: #6a6a7e;
|
| 90 |
-
}
|
| 91 |
-
""",
|
| 92 |
title="",
|
| 93 |
description=""
|
| 94 |
)
|
| 95 |
|
| 96 |
if __name__ == "__main__":
|
| 97 |
-
iface.launch()
|
|
|
|
| 21 |
fn=remove_background,
|
| 22 |
inputs=gr.Image(label="Upload Image"),
|
| 23 |
outputs=gr.Image(label="Output Image"),
|
| 24 |
+
css="style.css",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
title="",
|
| 26 |
description=""
|
| 27 |
)
|
| 28 |
|
| 29 |
if __name__ == "__main__":
|
| 30 |
+
iface.launch()
|