OriLib commited on
Commit
edbf467
·
verified ·
1 Parent(s): 06b02b5

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -20
app.py CHANGED
@@ -48,12 +48,7 @@ with gr.Blocks(title="RMBG-3.0 - Background Removal & Image Editing") as demo:
48
 
49
  Powered by [Bria AI's RMBG-3.0 model](https://huggingface.co/briaai/RMBG-3.0)
50
 
51
- This model performs advanced image editing including:
52
- - **Background removal**: "remove the background"
53
- - **Object removal**: "remove the person", "remove the car"
54
- - **Style changes**: "make it look vintage", "change to winter scene"
55
- - **Recoloring**: "change the car color to red"
56
- - **Relighting**: "add dramatic lighting"
57
 
58
  ### How to use:
59
  1. Upload your image
@@ -78,7 +73,7 @@ with gr.Blocks(title="RMBG-3.0 - Background Removal & Image Editing") as demo:
78
 
79
  with gr.Accordion("Advanced Settings", open=False):
80
  num_steps = gr.Slider(
81
- minimum=20,
82
  maximum=100,
83
  value=50,
84
  step=1,
@@ -108,19 +103,6 @@ with gr.Blocks(title="RMBG-3.0 - Background Removal & Image Editing") as demo:
108
  lines=2
109
  )
110
 
111
- # Examples
112
- gr.Markdown("### Examples")
113
- gr.Examples(
114
- examples=[
115
- ["Remove the background"],
116
- ["Make it look vintage"],
117
- ["Change the lighting to dramatic sunset"],
118
- ["Remove the person"],
119
- ["Change the car color to red"],
120
- ],
121
- inputs=instruction,
122
- label="Example Instructions"
123
- )
124
 
125
  # Connect the button
126
  process_btn.click(
 
48
 
49
  Powered by [Bria AI's RMBG-3.0 model](https://huggingface.co/briaai/RMBG-3.0)
50
 
51
+ This model performs background removal on any image
 
 
 
 
 
52
 
53
  ### How to use:
54
  1. Upload your image
 
73
 
74
  with gr.Accordion("Advanced Settings", open=False):
75
  num_steps = gr.Slider(
76
+ minimum=4,
77
  maximum=100,
78
  value=50,
79
  step=1,
 
103
  lines=2
104
  )
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
  # Connect the button
108
  process_btn.click(