Spaces:
Paused
Paused
Commit
·
9115bac
1
Parent(s):
bebf084
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic,no_lang_aut
|
|
| 78 |
try:
|
| 79 |
# Filtering for microphone input, as it has BG noise, maybe silence in beginning and end
|
| 80 |
# This is fast filtering not perfect
|
| 81 |
-
lowpass_highpass="lowpass=
|
| 82 |
|
| 83 |
fast_denoise="afftdn=nr=12:nf=-25"
|
| 84 |
# better to remove silence in beginning and end for microphone
|
|
|
|
| 78 |
try:
|
| 79 |
# Filtering for microphone input, as it has BG noise, maybe silence in beginning and end
|
| 80 |
# This is fast filtering not perfect
|
| 81 |
+
lowpass_highpass="lowpass=5000,highpass=200"
|
| 82 |
|
| 83 |
fast_denoise="afftdn=nr=12:nf=-25"
|
| 84 |
# better to remove silence in beginning and end for microphone
|