Spaces:
Runtime error
Runtime error
Hendrik Schroeter
commited on
Commit
•
b580a02
1
Parent(s):
13c929e
fix dbg
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ import markdown
|
|
9 |
import matplotlib.pyplot as plt
|
10 |
import numpy as np
|
11 |
import torch
|
12 |
-
from icecream import ic
|
13 |
from loguru import logger
|
14 |
from torch import Tensor
|
15 |
from torchaudio.backend.common import AudioMetaData
|
@@ -106,7 +105,6 @@ def mix_and_denoise(
|
|
106 |
speech_file = speech_upl
|
107 |
speech, meta = load_audio(speech_file, sr)
|
108 |
else:
|
109 |
-
ic(speech_rec, sr)
|
110 |
tmp = load_audio_gradio(speech_rec, sr)
|
111 |
assert tmp is not None
|
112 |
speech, meta = tmp
|
|
|
9 |
import matplotlib.pyplot as plt
|
10 |
import numpy as np
|
11 |
import torch
|
|
|
12 |
from loguru import logger
|
13 |
from torch import Tensor
|
14 |
from torchaudio.backend.common import AudioMetaData
|
|
|
105 |
speech_file = speech_upl
|
106 |
speech, meta = load_audio(speech_file, sr)
|
107 |
else:
|
|
|
108 |
tmp = load_audio_gradio(speech_rec, sr)
|
109 |
assert tmp is not None
|
110 |
speech, meta = tmp
|