darthPanda commited on
Commit
5aa0262
1 Parent(s): 412a36e

adding tts folder

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -8,6 +8,8 @@ import os
8
  logging.basicConfig(level=logging.INFO)
9
 
10
  def delete_files_in_folder(folder_path):
 
 
11
  for filename in os.listdir(folder_path):
12
  file_path = os.path.join(folder_path, filename)
13
 
 
8
  logging.basicConfig(level=logging.INFO)
9
 
10
  def delete_files_in_folder(folder_path):
11
+ if not os.path.exists(folder_path):
12
+ os.makedirs(folder_path)
13
  for filename in os.listdir(folder_path):
14
  file_path = os.path.join(folder_path, filename)
15