TDN-M commited on
Commit
fd54a45
·
verified ·
1 Parent(s): 6132174

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -231,9 +231,9 @@ with gr.Blocks(analytics_enabled=False) as demo:
231
  with gr.Row():
232
  with gr.Column():
233
  input_text_gr = gr.Textbox(
234
- label="Text Prompt (Văn bản cần đọc)",
235
- info="Mỗi câu nên từ 10 từ trở lên.",
236
- value="Xin chào, tôi một hình chuyển đổi văn bản thành giọng nói tiếng Việt.",
237
  )
238
  language_gr = gr.Dropdown(
239
  label="Language (Ngôn ngữ)",
@@ -268,7 +268,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
268
  use_llm_checkbox = gr.Checkbox(
269
  label="Sử dụng LLM để tạo nội dung",
270
  info="Use LLM to generate content",
271
- value=False,
272
  )
273
  content_type_dropdown = gr.Dropdown(
274
  label="Loại nội dung",
@@ -278,7 +278,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
278
  ref_gr = gr.Audio(
279
  label="Reference Audio (Giọng mẫu)",
280
  type="filepath",
281
- value="nam-tai-lieu.wav",
282
  )
283
  tts_button = gr.Button(
284
  "Đọc 🗣️🔥",
 
231
  with gr.Row():
232
  with gr.Column():
233
  input_text_gr = gr.Textbox(
234
+ label="Bạn cần nội dung gì?",
235
+ info="Tôi thể viết thu âm luôn cho bạn",
236
+ value="Lời tự sự của AI, 150 từ",
237
  )
238
  language_gr = gr.Dropdown(
239
  label="Language (Ngôn ngữ)",
 
268
  use_llm_checkbox = gr.Checkbox(
269
  label="Sử dụng LLM để tạo nội dung",
270
  info="Use LLM to generate content",
271
+ value=True,
272
  )
273
  content_type_dropdown = gr.Dropdown(
274
  label="Loại nội dung",
 
278
  ref_gr = gr.Audio(
279
  label="Reference Audio (Giọng mẫu)",
280
  type="filepath",
281
+ value="nam-tai-llieu.wav",
282
  )
283
  tts_button = gr.Button(
284
  "Đọc 🗣️🔥",