Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -287,6 +287,7 @@ with gr.Blocks(css=GLOBAL_CSS) as demo:
|
|
| 287 |
gr.HTML(f"<div style='display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0;padding:0;line-height:1;font-weight:500;'><div id='char-counter' style='margin-right:140px;'>✅ 0/{MAX_CHARS:,} ký tự</div><div id='time-counter' style='position:relative;left:32%;'>⏳ Hạn sử dụng: 0/{MAX_DAYS} ngày</div></div>")
|
| 288 |
with gr.Row(elem_id="tts_cols"):
|
| 289 |
with gr.Column():# <-- đây là CỘT TRÁI (Voice + Tốc độ)
|
|
|
|
| 290 |
gr.HTML("""
|
| 291 |
<div class="audio-box" style="position:relative;padding:12px;">
|
| 292 |
<div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;">
|
|
@@ -436,7 +437,9 @@ with gr.Blocks(css=GLOBAL_CSS) as demo:
|
|
| 436 |
#voice-dropdown::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.15);border-radius:4px;}
|
| 437 |
</style>
|
| 438 |
</div>
|
| 439 |
-
|
|
|
|
|
|
|
| 440 |
|
| 441 |
# =====================================================
|
| 442 |
# CHẠY ỨNG DỤNG
|
|
|
|
| 287 |
gr.HTML(f"<div style='display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0;padding:0;line-height:1;font-weight:500;'><div id='char-counter' style='margin-right:140px;'>✅ 0/{MAX_CHARS:,} ký tự</div><div id='time-counter' style='position:relative;left:32%;'>⏳ Hạn sử dụng: 0/{MAX_DAYS} ngày</div></div>")
|
| 288 |
with gr.Row(elem_id="tts_cols"):
|
| 289 |
with gr.Column():# <-- đây là CỘT TRÁI (Voice + Tốc độ)
|
| 290 |
+
|
| 291 |
gr.HTML("""
|
| 292 |
<div class="audio-box" style="position:relative;padding:12px;">
|
| 293 |
<div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;">
|
|
|
|
| 437 |
#voice-dropdown::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.15);border-radius:4px;}
|
| 438 |
</style>
|
| 439 |
</div>
|
| 440 |
+
|
| 441 |
+
"""
|
| 442 |
+
)
|
| 443 |
|
| 444 |
# =====================================================
|
| 445 |
# CHẠY ỨNG DỤNG
|