Zaiiida commited on
Commit
a793ea7
·
verified ·
1 Parent(s): e5b5b01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -201,10 +201,6 @@ html, body, #root, #__next, .gradio-container, .gr-app {
201
  width: 100%;
202
  }
203
 
204
- body > div {
205
- background-color: #191a1e !important;
206
- }
207
-
208
  .gr-block, .gr-row, .gr-column, .gr-box, .gr-examples, .gr-examples .gr-box, .gr-examples .gr-card {
209
  background-color: #191a1e !important;
210
  border: none !important;
@@ -229,11 +225,7 @@ footer {
229
  }
230
  """
231
 
232
- with gr.Blocks(
233
- theme=CustomTheme(),
234
- css=css,
235
- style={"width":"100vw","height":"100vh","background":"#191a1e","margin":"0","padding":"0"}
236
- ) as demo:
237
  img_proc_state = gr.State()
238
  background_remove_state = gr.State()
239
 
 
201
  width: 100%;
202
  }
203
 
 
 
 
 
204
  .gr-block, .gr-row, .gr-column, .gr-box, .gr-examples, .gr-examples .gr-box, .gr-examples .gr-card {
205
  background-color: #191a1e !important;
206
  border: none !important;
 
225
  }
226
  """
227
 
228
+ with gr.Blocks(theme=CustomTheme(), css=css) as demo:
 
 
 
 
229
  img_proc_state = gr.State()
230
  background_remove_state = gr.State()
231