Spaces:
Sleeping
Sleeping
ui: make disclaimer a visible yellow banner in the Gradio header
Browse files
app.py
CHANGED
|
@@ -372,12 +372,22 @@ def build_ui(default_device: str = "cuda"):
|
|
| 372 |
|
| 373 |
gr.Markdown(
|
| 374 |
"# LongCat-AudioDiT β Voice Cloning Studio\n"
|
| 375 |
-
"State-of-the-art voice cloning based on
|
| 376 |
-
"
|
| 377 |
-
"
|
| 378 |
-
"
|
| 379 |
-
|
| 380 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 381 |
)
|
| 382 |
|
| 383 |
# ββ Global settings row ββββββββββββββββββββββββββββββββββββββββββ
|
|
|
|
| 372 |
|
| 373 |
gr.Markdown(
|
| 374 |
"# LongCat-AudioDiT β Voice Cloning Studio\n"
|
| 375 |
+
"State-of-the-art voice cloning based on "
|
| 376 |
+
"[LongCat-AudioDiT](https://github.com/meituan-longcat/LongCat-AudioDiT) "
|
| 377 |
+
"by the Meituan LongCat Team. "
|
| 378 |
+
"Give it a reference audio, type your text, get the result."
|
| 379 |
+
)
|
| 380 |
+
|
| 381 |
+
gr.HTML(
|
| 382 |
+
'<div style="background:#fff3cd; border:1px solid #ffc107; border-radius:8px; '
|
| 383 |
+
'padding:12px 16px; margin-bottom:12px; color:#664d03; font-size:14px;">'
|
| 384 |
+
'<strong>Research & Testing Only.</strong> '
|
| 385 |
+
'This tool is provided strictly for research, educational, and personal experimentation purposes. '
|
| 386 |
+
'It is <strong>not</strong> intended for generating deceptive, misleading, or harmful content. '
|
| 387 |
+
'Do not use it to impersonate real individuals without their explicit consent, '
|
| 388 |
+
'to create non-consensual deepfakes, or for any activity that violates applicable laws or regulations. '
|
| 389 |
+
'By using this tool you accept full responsibility for ensuring your use complies with all relevant laws in your jurisdiction.'
|
| 390 |
+
'</div>'
|
| 391 |
)
|
| 392 |
|
| 393 |
# ββ Global settings row ββββββββββββββββββββββββββββββββββββββββββ
|