saumya-pailwan commited on
Commit
0883a2b
·
verified ·
1 Parent(s): 289fe05

description and hints

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -15,7 +15,11 @@ import numpy as np
15
  # ModelCard
16
  model_card = ModelCard(
17
  name="Demucs Stem Separator (All Stems)",
18
- description="Separates a music mixture into all individual stems using a Demucs model.",
 
 
 
 
19
  author="Alexandre Défossez, et al.",
20
  tags=["demucs", "source-separation", "pyharp", "stems", "multi-output"]
21
  )
@@ -112,7 +116,14 @@ with gr.Blocks() as demo:
112
  model_dropdown = gr.Dropdown(
113
  choices=DEMUX_MODELS,
114
  label="Demucs Model",
115
- value="htdemucs"
 
 
 
 
 
 
 
116
  )
117
 
118
  output_drums = gr.Audio(type="filepath", label="Drums")
 
15
  # ModelCard
16
  model_card = ModelCard(
17
  name="Demucs Stem Separator (All Stems)",
18
+ description=(
19
+ "Separates a full music track into its core components using the Demucs model. \n"
20
+ "Input: A stereo music mix (WAV or MP3) containing multiple instruments or vocals.\n"
21
+ "Output: Four individual audio stems — Drums, Bass, Vocals, and Other-Instrumental, each isolated with high fidelity for remixing or analysis."
22
+ ),
23
  author="Alexandre Défossez, et al.",
24
  tags=["demucs", "source-separation", "pyharp", "stems", "multi-output"]
25
  )
 
116
  model_dropdown = gr.Dropdown(
117
  choices=DEMUX_MODELS,
118
  label="Demucs Model",
119
+ value="htdemucs",
120
+ info=(
121
+ "Choose which Demucs variant to use for separation:\n"
122
+ "1. htdemucs: Best overall quality and realism (default).\n"
123
+ "2. mdx_extra_q: High-quality extended model trained for cleaner vocals.\n"
124
+ "3. mdx_extra: Balanced version with good speed and quality.\n"
125
+ "4. mdx_q: Faster, lighter model for quick previews or low-end devices."
126
+ )
127
  )
128
 
129
  output_drums = gr.Audio(type="filepath", label="Drums")