oza75 commited on
Commit
1c3b32c
·
verified ·
1 Parent(s): 2968589

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def get_wav_files(directory):
80
  # List all files in the directory
81
  files = os.listdir(directory)
82
  # Filter for .wav files and create absolute paths
83
- wav_files = [os.path.abspath(os.path.join(directory, file)) for file in files if file.endswith('.wav')]
84
  return wav_files
85
 
86
  def main():
 
80
  # List all files in the directory
81
  files = os.listdir(directory)
82
  # Filter for .wav files and create absolute paths
83
+ wav_files = [[os.path.abspath(os.path.join(directory, file)), "transcribe"] for file in files if file.endswith('.wav')]
84
  return wav_files
85
 
86
  def main():