Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -282,15 +282,9 @@ def image_processing(image, filter_type):
|
|
282 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
283 |
|
284 |
|
285 |
-
css =
|
286 |
-
app-container {
|
287 |
-
max-width: 1200px;
|
288 |
-
margin-left: auto;
|
289 |
-
margin-right: auto;
|
290 |
-
}
|
291 |
".gradio-container {background: url(https://upload.wikimedia.org/wikipedia/commons/4/49/Abstract_-_Coconut_Leaf_%28Imagicity_186%29.jpg)}"
|
292 |
|
293 |
-
"""
|
294 |
|
295 |
# Gradio interface
|
296 |
with gr.Blocks(theme=theme, css=css) as app:
|
|
|
282 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
283 |
|
284 |
|
285 |
+
css =
|
|
|
|
|
|
|
|
|
|
|
286 |
".gradio-container {background: url(https://upload.wikimedia.org/wikipedia/commons/4/49/Abstract_-_Coconut_Leaf_%28Imagicity_186%29.jpg)}"
|
287 |
|
|
|
288 |
|
289 |
# Gradio interface
|
290 |
with gr.Blocks(theme=theme, css=css) as app:
|