helloWorld199 commited on
Commit
9f98fd8
·
verified ·
1 Parent(s): 0726a41

Update src/my_utils.py

Browse files
Files changed (1) hide show
  1. src/my_utils.py +5 -0
src/my_utils.py CHANGED
@@ -19,3 +19,8 @@ def load_audio(file, sr):
19
  raise RuntimeError(f"Failed to load audio: {e}")
20
 
21
  return np.frombuffer(out, np.float32).flatten()
 
 
 
 
 
 
19
  raise RuntimeError(f"Failed to load audio: {e}")
20
 
21
  return np.frombuffer(out, np.float32).flatten()
22
+
23
+ def show_stored_files(root_dir):
24
+ for root, dirs, files in os.walk(root_dir):
25
+ for file in files:
26
+ print(os.path.join(root, file))