Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def filtered():
|
|
80 |
|
81 |
sr, data = read(input_file)
|
82 |
|
83 |
-
|
84 |
write(output_file, sr, np.int16(filtered_data))
|
85 |
return "Filtered Audio Generated"
|
86 |
|
|
|
80 |
|
81 |
sr, data = read(input_file)
|
82 |
|
83 |
+
filtered_data = butter_bandpass_filter(data, sr)
|
84 |
write(output_file, sr, np.int16(filtered_data))
|
85 |
return "Filtered Audio Generated"
|
86 |
|