Hev832 commited on
Commit
aff1c2e
1 Parent(s): 3700463

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def refresh_folders():
50
 
51
  # Function to get the list of audio files in the specified directory
52
  def get_audio_files():
53
- if not os.path.exists(QUDIO_DIR):
54
  os.makedirs(AUDIO_DIR)
55
  # List all supported audio file formats
56
  return [f for f in os.listdir(AUDIO_DIR) if f.lower().endswith(('.mp3', '.wav', '.flac', '.ogg', '.aac'))]
 
50
 
51
  # Function to get the list of audio files in the specified directory
52
  def get_audio_files():
53
+ if not os.path.exists(AUDIO_DIR):
54
  os.makedirs(AUDIO_DIR)
55
  # List all supported audio file formats
56
  return [f for f in os.listdir(AUDIO_DIR) if f.lower().endswith(('.mp3', '.wav', '.flac', '.ogg', '.aac'))]