Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ with gr.Blocks() as demo:
|
|
| 57 |
gr.Markdown("# AI Object Removal using Magic Studio API")
|
| 58 |
|
| 59 |
# Tải ảnh lên từ người dùng và cho phép vẽ mask đè trực tiếp lên ảnh
|
| 60 |
-
image_input = gr.Image(type="numpy",
|
| 61 |
|
| 62 |
# Khu vực hiển thị kết quả
|
| 63 |
result_output = gr.Image(label="Output Image")
|
|
|
|
| 57 |
gr.Markdown("# AI Object Removal using Magic Studio API")
|
| 58 |
|
| 59 |
# Tải ảnh lên từ người dùng và cho phép vẽ mask đè trực tiếp lên ảnh
|
| 60 |
+
image_input = gr.Image(type="numpy", label="Upload an image and draw mask", tool="editor", brush_radius=20, drawing_mode="freedraw")
|
| 61 |
|
| 62 |
# Khu vực hiển thị kết quả
|
| 63 |
result_output = gr.Image(label="Output Image")
|