DigiP-AI commited on
Commit
3f01466
·
verified ·
1 Parent(s): f67e11a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -17
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
- #generate {
185
- width: 100%;
186
- background: #e253dd !important;
187
- border: none;
188
- border-radius: 50px;
189
- outline: none !important;
190
- color: white;
191
  }
192
- #generate:hover {
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():