Update app.py
Browse files
app.py
CHANGED
@@ -180,26 +180,18 @@ def mirror(image_output, scale_by, method, gfpgan, codeformer):
|
|
180 |
img = Image.open(BytesIO(response2.content))
|
181 |
return img
|
182 |
|
|
|
183 |
css = """
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
color: white;
|
191 |
}
|
192 |
-
|
193 |
-
background: #de6bda !important;
|
194 |
-
outline: none !important;
|
195 |
-
color: #fff;
|
196 |
-
}
|
197 |
-
#image_output {
|
198 |
-
height: 100% !important;
|
199 |
-
}
|
200 |
-
"""
|
201 |
|
202 |
-
with gr.Blocks(css=css) as app:
|
203 |
|
204 |
with gr.Tab("Базовые настройки"):
|
205 |
with gr.Row():
|
|
|
180 |
img = Image.open(BytesIO(response2.content))
|
181 |
return img
|
182 |
|
183 |
+
# CSS to style the app
|
184 |
css = """
|
185 |
+
.gradio-container {background-color: MediumAquaMarine}
|
186 |
+
footer{display:none !important}
|
187 |
+
#app-container {
|
188 |
+
max-width: 930px;
|
189 |
+
margin-left: auto;
|
190 |
+
margin-right: auto;
|
|
|
191 |
}
|
192 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
|
194 |
+
with gr.Blocks(css=css, theme=theme, fill_width= False) as app:
|
195 |
|
196 |
with gr.Tab("Базовые настройки"):
|
197 |
with gr.Row():
|