Ivan000 commited on
Commit
2ace022
·
verified ·
1 Parent(s): 930e37b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,9 +38,9 @@ iface = gr.Interface(
38
  fn=remove_silence,
39
  inputs=[
40
  gr.Audio(sources=["upload", "microphone"], type="filepath", label="Upload or Record Audio File"),
41
- gr.Slider(minimum=-100, maximum=0, step=1, value=-16, label="Silence Threshold (dBFS)", description="The threshold in decibels (dBFS) below which audio is considered silence."),
42
- gr.Slider(minimum=10, maximum=5000, step=10, value=500, label="Minimum Silence Length (ms)", description="The minimum length of silence (in milliseconds) to be detected."),
43
- gr.Slider(minimum=-100, maximum=0, step=1, value=-20, label="Compression Threshold (dBFS)", description="The threshold in decibels (dBFS) for audio compression. Lower values compress more.")
44
  ],
45
  outputs=gr.Audio(type="filepath", label="Audio Without Silence"),
46
  title="Remove Silence from Audio",
 
38
  fn=remove_silence,
39
  inputs=[
40
  gr.Audio(sources=["upload", "microphone"], type="filepath", label="Upload or Record Audio File"),
41
+ gr.Slider(minimum=-100, maximum=0, step=1, value=-16, label="Silence Threshold (dBFS): The threshold in decibels (dBFS) below which audio is considered silence."),
42
+ gr.Slider(minimum=10, maximum=5000, step=10, value=500, label="Minimum Silence Length (ms): The minimum length of silence (in milliseconds) to be detected."),
43
+ gr.Slider(minimum=-100, maximum=0, step=1, value=-20, label="Compression Threshold (dBFS): The threshold in decibels (dBFS) for audio compression. Lower values compress more.")
44
  ],
45
  outputs=gr.Audio(type="filepath", label="Audio Without Silence"),
46
  title="Remove Silence from Audio",