Update app.py
Browse files
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="
|
| 235 |
-
info="
|
| 236 |
-
value="
|
| 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=
|
| 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-
|
| 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 có thể viết và 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 🗣️🔥",
|