tohid4n commited on
Commit
2d3921a
·
verified ·
1 Parent(s): 96b242d

Update app.py

Browse files

Back to normal

Files changed (1) hide show
  1. app.py +1 -17
app.py CHANGED
@@ -124,23 +124,7 @@ def process(image, bg, fast_mode=False):
124
  image = Image.composite(image, background, mask)
125
  return image
126
 
127
- # Create custom dark theme
128
- dark_theme = gr.themes.Soft(
129
- primary_hue="purple",
130
- secondary_hue="blue",
131
- neutral_hue="slate",
132
- ).set(
133
- body_background_fill_dark="#0f0f23",
134
- block_background_fill_dark="#1a1b2e",
135
- block_border_color_dark="#16213e",
136
- input_background_fill_dark="#16213e",
137
- button_primary_background_fill_dark="#6366f1",
138
- button_primary_background_fill_hover_dark="#4f46e5",
139
- button_secondary_background_fill_dark="#374151",
140
- button_secondary_background_fill_hover_dark="#4b5563"
141
- )
142
-
143
- with gr.Blocks(theme=dark_theme) as demo:
144
 
145
  with gr.Row():
146
  in_video = gr.Video(label="Input Video", interactive=True)
 
124
  image = Image.composite(image, background, mask)
125
  return image
126
 
127
+ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
  with gr.Row():
130
  in_video = gr.Video(label="Input Video", interactive=True)