TDN-M commited on
Commit
8627f72
·
verified ·
1 Parent(s): e048e8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -49,6 +49,9 @@ def get_bgm_file_list():
49
  song_dir = "/data/bg-music"
50
  return [os.path.basename(file) for file in glob.glob(os.path.join(song_dir, "*.mp3"))]
51
 
 
 
 
52
  # Giao diện Gradio
53
  def interface():
54
  with gr.Blocks() as app:
 
49
  song_dir = "/data/bg-music"
50
  return [os.path.basename(file) for file in glob.glob(os.path.join(song_dir, "*.mp3"))]
51
 
52
+ # Định nghĩa danh sách giọng đọc
53
+ VOICES = ["alloy", "echo", "fable", "onyx", "nova", "shimmer"]
54
+
55
  # Giao diện Gradio
56
  def interface():
57
  with gr.Blocks() as app: