Spaces:
Running
Running
Update app.py
Browse files
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)
|
42 |
-
gr.Slider(minimum=10, maximum=5000, step=10, value=500, label="Minimum Silence Length (ms)
|
43 |
-
gr.Slider(minimum=-100, maximum=0, step=1, value=-20, label="Compression Threshold (dBFS)
|
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",
|