Adeal1 commited on
Commit
8b787b6
·
1 Parent(s): 236619f

Update README and app configuration; change emoji, SDK version, and background color handling

Browse files
Files changed (3) hide show
  1. README.md +4 -4
  2. app.py +1 -1
  3. requirements.txt +1 -1
README.md CHANGED
@@ -1,14 +1,14 @@
1
  ---
2
  title: BackgroundRemoverandChanger
3
- emoji: 🌍
4
  colorFrom: gray
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 5.7.1
8
  app_file: app.py
9
- pinned: false
10
  license: mit
11
- short_description: It removes the background from an image and video.
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  title: BackgroundRemoverandChanger
3
+ emoji: 🎨
4
  colorFrom: gray
5
  colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 4.42.0
8
  app_file: app.py
9
+ pinned: true
10
  license: mit
11
+ short_description: Remove/Change background of video and images.
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -80,7 +80,7 @@ def remove_bg_video(
80
  bg_type="Color",
81
  bg_image=None,
82
  bg_video=None,
83
- color="#00FF00",
84
  fps=0,
85
  video_handling="slow_down",
86
  fast_mode=True,
 
80
  bg_type="Color",
81
  bg_image=None,
82
  bg_video=None,
83
+ color="#00000000",
84
  fps=0,
85
  video_handling="slow_down",
86
  fast_mode=True,
requirements.txt CHANGED
@@ -11,7 +11,7 @@ typing
11
  scikit-image
12
  huggingface_hub
13
  transformers>=4.39.1
14
- gradio
15
  schedule
16
  loadimg>=0.1.1
17
  moviepy==1.0.3
 
11
  scikit-image
12
  huggingface_hub
13
  transformers>=4.39.1
14
+ gradio==4.42.0
15
  schedule
16
  loadimg>=0.1.1
17
  moviepy==1.0.3