intersteller2887 commited on
Commit
c660ebe
·
verified ·
1 Parent(s): b24becc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,10 +17,10 @@ all_data_audio_paths = [
17
  if item['audio']['path'].endswith(".wav") and "/data/" in item['audio']['path'].replace("\\", "/")
18
  ]
19
 
20
- sample1_audio_path = next((p for p in all_data_audio_paths if p.endswith("sample1.wav")), None)
 
21
 
22
- print(f"Found {len(all_data_audio_paths)} audio files in data/ folder")
23
- print(f"sample1.wav path: {sample1_audio_path}")
24
 
25
  # ==============================================================================
26
  # 数据定义 (Data Definition)
 
17
  if item['audio']['path'].endswith(".wav") and "/data/" in item['audio']['path'].replace("\\", "/")
18
  ]
19
 
20
+ for p in all_data_audio_paths:
21
+ print(p)
22
 
23
+ sample1_audio_path = next((p for p in all_data_audio_paths if p.endswith("sample1.wav")), None)
 
24
 
25
  # ==============================================================================
26
  # 数据定义 (Data Definition)