Spaces:
Runtime error
Runtime error
Hendrik Schroeter
commited on
fix none
Browse files- app.py +3 -3
- none +0 -0
- samples/none.wav +0 -3
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def mix_and_denoise(speech, speech_alt, noise, snr):
|
|
| 53 |
noise = "samples/dkitchen.wav"
|
| 54 |
if speech is None or speech == "":
|
| 55 |
speech = "samples/p232_013_clean.wav"
|
| 56 |
-
if speech_alt is not None and "none
|
| 57 |
print("using speech_alt")
|
| 58 |
speech = speech_alt
|
| 59 |
print(speech, noise, snr)
|
|
@@ -201,13 +201,13 @@ inputs = [
|
|
| 201 |
examples = [
|
| 202 |
[
|
| 203 |
"samples/p232_013_clean.wav",
|
| 204 |
-
"
|
| 205 |
"samples/dkitchen.wav",
|
| 206 |
10,
|
| 207 |
],
|
| 208 |
[
|
| 209 |
"samples/p232_013_clean.wav",
|
| 210 |
-
"
|
| 211 |
"samples/dliving.wav",
|
| 212 |
10,
|
| 213 |
],
|
|
|
|
| 53 |
noise = "samples/dkitchen.wav"
|
| 54 |
if speech is None or speech == "":
|
| 55 |
speech = "samples/p232_013_clean.wav"
|
| 56 |
+
if speech_alt is not None and "none" not in speech_alt:
|
| 57 |
print("using speech_alt")
|
| 58 |
speech = speech_alt
|
| 59 |
print(speech, noise, snr)
|
|
|
|
| 201 |
examples = [
|
| 202 |
[
|
| 203 |
"samples/p232_013_clean.wav",
|
| 204 |
+
"none",
|
| 205 |
"samples/dkitchen.wav",
|
| 206 |
10,
|
| 207 |
],
|
| 208 |
[
|
| 209 |
"samples/p232_013_clean.wav",
|
| 210 |
+
"none",
|
| 211 |
"samples/dliving.wav",
|
| 212 |
10,
|
| 213 |
],
|
none
ADDED
|
Binary file (44 Bytes). View file
|
|
|
samples/none.wav
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:531cd597b25052b4845ef2f3887dec2183240802a93b6e044960de8ba017caa0
|
| 3 |
-
size 44
|
|
|
|
|
|
|
|
|
|
|
|