Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ custom_css = """
|
|
122 |
background-size: 400% 400%;
|
123 |
animation: gradient-animation 15s ease infinite;
|
124 |
border-radius: 12px;
|
125 |
-
color:
|
126 |
}
|
127 |
"""
|
128 |
|
@@ -131,7 +131,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
131 |
with gr.Row():
|
132 |
with gr.Column():
|
133 |
image_input = gr.Image(type="numpy", label="Upload Image")
|
134 |
-
btn = gr.Button("
|
135 |
with gr.Column():
|
136 |
output_foreground = gr.Image(type="pil", label="Foreground")
|
137 |
output_background = gr.Image(type="pil", label="Background")
|
|
|
122 |
background-size: 400% 400%;
|
123 |
animation: gradient-animation 15s ease infinite;
|
124 |
border-radius: 12px;
|
125 |
+
color: black;
|
126 |
}
|
127 |
"""
|
128 |
|
|
|
131 |
with gr.Row():
|
132 |
with gr.Column():
|
133 |
image_input = gr.Image(type="numpy", label="Upload Image")
|
134 |
+
btn = gr.Button("Process Image", elem_id="submit-button")
|
135 |
with gr.Column():
|
136 |
output_foreground = gr.Image(type="pil", label="Foreground")
|
137 |
output_background = gr.Image(type="pil", label="Background")
|