Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -85,8 +85,8 @@ with gr.Blocks(title="RMBG-3.0 - Background Removal & Image Editing") as demo:
|
|
| 85 |
|
| 86 |
instruction = gr.Textbox(
|
| 87 |
label="Editing Instruction",
|
| 88 |
-
|
| 89 |
-
lines=
|
| 90 |
)
|
| 91 |
|
| 92 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
|
| 85 |
|
| 86 |
instruction = gr.Textbox(
|
| 87 |
label="Editing Instruction",
|
| 88 |
+
value="{'edit_instruction':'Generate a detailed grayscale alpha matte. Map the opaque foreground to white and the background to black. Produce soft, anti-aliased grayscale gradients at the edges of the subject to represent fine details and transparency.'}",
|
| 89 |
+
lines=5
|
| 90 |
)
|
| 91 |
|
| 92 |
with gr.Accordion("Advanced Settings", open=False):
|