XDHDD commited on
Commit
ebaa690
1 Parent(s): c127300

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import numpy as np
2
- np.import_array()
3
  import streamlit as st
4
  import librosa
5
  import soundfile as sf
@@ -10,8 +10,8 @@ from dataset import MaskGenerator
10
  import onnxruntime, onnx
11
  import matplotlib.pyplot as plt
12
  from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
13
- from torchmetrics.audio.stoi import ShortTimeObjectiveIntelligibility as STOI
14
- from torchmetrics.audio.pesq import PerceptualEvaluationSpeechQuality as PESQ
15
  import pandas as pd
16
 
17
  @st.cache
 
1
  import numpy as np
2
+
3
  import streamlit as st
4
  import librosa
5
  import soundfile as sf
 
10
  import onnxruntime, onnx
11
  import matplotlib.pyplot as plt
12
  from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
13
+ #from torchmetrics.audio.stoi import ShortTimeObjectiveIntelligibility as STOI
14
+ #from torchmetrics.audio.pesq import PerceptualEvaluationSpeechQuality as PESQ
15
  import pandas as pd
16
 
17
  @st.cache