Spaces:
Running
Running
Added application file
Browse files
app.py
CHANGED
|
@@ -94,6 +94,7 @@ with gr.Blocks() as demo:
|
|
| 94 |
# Set a default brush for clarity (optional, but helpful)
|
| 95 |
brush=gr.Brush(colors=["#FF0000"], color_mode="fixed"), # Red fixed brush
|
| 96 |
interactive=True,
|
|
|
|
| 97 |
)
|
| 98 |
generate_button = gr.Button("Generate Mask", variant="primary")
|
| 99 |
|
|
|
|
| 94 |
# Set a default brush for clarity (optional, but helpful)
|
| 95 |
brush=gr.Brush(colors=["#FF0000"], color_mode="fixed"), # Red fixed brush
|
| 96 |
interactive=True,
|
| 97 |
+
canvas_size=(768, 1024)
|
| 98 |
)
|
| 99 |
generate_button = gr.Button("Generate Mask", variant="primary")
|
| 100 |
|