Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,17 @@ def process_image(image_input, text_input) -> Optional[Image.Image]:
|
|
55 |
return Image.fromarray(detections.mask[0].astype("uint8") * 255)
|
56 |
|
57 |
|
58 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
with gr.Row():
|
60 |
with gr.Column():
|
61 |
image_input_component = gr.Image(
|
|
|
55 |
return Image.fromarray(detections.mask[0].astype("uint8") * 255)
|
56 |
|
57 |
|
58 |
+
with gr.Blocks(
|
59 |
+
theme='ParityError/Interstellar',
|
60 |
+
css="""
|
61 |
+
footer.svelte-sar7eh {
|
62 |
+
display: none !important;
|
63 |
+
}
|
64 |
+
#huggingface-space-header {
|
65 |
+
display: none !important;
|
66 |
+
}
|
67 |
+
"""
|
68 |
+
) as demo:
|
69 |
with gr.Row():
|
70 |
with gr.Column():
|
71 |
image_input_component = gr.Image(
|