Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def full_pipeline(audio, text_input, mode):
|
|
| 80 |
# 3. GIAO DIỆN COFFEE THEME (UI/UX)
|
| 81 |
# ==========================================
|
| 82 |
|
| 83 |
-
# CSS Tông màu Cà phê
|
| 84 |
custom_css = """
|
| 85 |
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Roboto:wght@300;400;500&display=swap');
|
| 86 |
|
|
@@ -173,7 +173,7 @@ button.primary-btn:hover {
|
|
| 173 |
}
|
| 174 |
"""
|
| 175 |
|
| 176 |
-
# Tạo Theme
|
| 177 |
coffee_theme = gr.themes.Soft(
|
| 178 |
primary_hue="orange",
|
| 179 |
secondary_hue="yellow",
|
|
@@ -232,7 +232,7 @@ with gr.Blocks(css=custom_css, theme=coffee_theme, title="VSL Coffee Translator"
|
|
| 232 |
# Gợi ý câu mẫu
|
| 233 |
gr.Examples(
|
| 234 |
examples=[
|
| 235 |
-
["
|
| 236 |
["Lấy cho mình một bạc xỉu ít ngọt"],
|
| 237 |
["Tôi muốn thanh toán tiền"],
|
| 238 |
["Cảm ơn bạn rất nhiều"]
|
|
@@ -259,7 +259,7 @@ with gr.Blocks(css=custom_css, theme=coffee_theme, title="VSL Coffee Translator"
|
|
| 259 |
gr.HTML("<br>")
|
| 260 |
|
| 261 |
# Kết quả cuối cùng
|
| 262 |
-
gr.Label("Bước 2: Cú pháp Ký hiệu (VSL)", show_label=False, color="
|
| 263 |
output_gloss = gr.Textbox(
|
| 264 |
label="VSL Gloss Output",
|
| 265 |
interactive=False,
|
|
|
|
| 80 |
# 3. GIAO DIỆN COFFEE THEME (UI/UX)
|
| 81 |
# ==========================================
|
| 82 |
|
| 83 |
+
# CSS Tông màu Cà phê
|
| 84 |
custom_css = """
|
| 85 |
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Roboto:wght@300;400;500&display=swap');
|
| 86 |
|
|
|
|
| 173 |
}
|
| 174 |
"""
|
| 175 |
|
| 176 |
+
# Tạo Theme
|
| 177 |
coffee_theme = gr.themes.Soft(
|
| 178 |
primary_hue="orange",
|
| 179 |
secondary_hue="yellow",
|
|
|
|
| 232 |
# Gợi ý câu mẫu
|
| 233 |
gr.Examples(
|
| 234 |
examples=[
|
| 235 |
+
["Tôi gọi một ly cà phê muối"],
|
| 236 |
["Lấy cho mình một bạc xỉu ít ngọt"],
|
| 237 |
["Tôi muốn thanh toán tiền"],
|
| 238 |
["Cảm ơn bạn rất nhiều"]
|
|
|
|
| 259 |
gr.HTML("<br>")
|
| 260 |
|
| 261 |
# Kết quả cuối cùng
|
| 262 |
+
gr.Label("Bước 2: Cú pháp Ký hiệu (VSL)", show_label=False, color="yellow")
|
| 263 |
output_gloss = gr.Textbox(
|
| 264 |
label="VSL Gloss Output",
|
| 265 |
interactive=False,
|