Spaces:
Runtime error
Runtime error
Commit
•
fe1c2c9
1
Parent(s):
935df66
feat: Reduce default bg removal, change "threshold" -> "amount"
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ with demo:
|
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
30 |
prompt = gr.Textbox(label="Prompt", placeholder="Enter text prompt")
|
31 |
-
threshold = gr.Slider(label="Background removal
|
32 |
|
33 |
button = gr.Button("Generate")
|
34 |
|
|
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
30 |
prompt = gr.Textbox(label="Prompt", placeholder="Enter text prompt")
|
31 |
+
threshold = gr.Slider(label="Background removal amount", placeholder="Tweak how strong the background removal is", minimum=0, maximum=255, value=96)
|
32 |
|
33 |
button = gr.Button("Generate")
|
34 |
|