NLPV commited on
Commit
4808325
·
verified ·
1 Parent(s): a960ed3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ import tempfile
3
  import gradio as gr
4
  import librosa
5
  import soundfile as sf
 
 
 
6
 
7
  # ===== Step 1: Allowlist Required Classes for PyTorch >= 2.6 =====
8
  from torch.serialization import add_safe_globals
 
3
  import gradio as gr
4
  import librosa
5
  import soundfile as sf
6
+ import warnings
7
+ warnings.filterwarnings("ignore", category=FutureWarning)
8
+
9
 
10
  # ===== Step 1: Allowlist Required Classes for PyTorch >= 2.6 =====
11
  from torch.serialization import add_safe_globals