Spaces:
Runtime error
Runtime error
Increase max lines for text input and update header content for clarity
Browse files- app.py +1 -0
- lib/ui_content.py +1 -1
app.py
CHANGED
|
@@ -254,6 +254,7 @@ with gr.Blocks(title="Kokoro TTS Demo", css="""
|
|
| 254 |
placeholder="Enter text here, select a chapter, or upload a .txt file",
|
| 255 |
value=initial_text,
|
| 256 |
lines=8,
|
|
|
|
| 257 |
show_label=False,
|
| 258 |
show_copy_button=True # Add copy button for convenience
|
| 259 |
)
|
|
|
|
| 254 |
placeholder="Enter text here, select a chapter, or upload a .txt file",
|
| 255 |
value=initial_text,
|
| 256 |
lines=8,
|
| 257 |
+
max_lines=16,
|
| 258 |
show_label=False,
|
| 259 |
show_copy_button=True # Add copy button for convenience
|
| 260 |
)
|
lib/ui_content.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# HTML content for the header section
|
| 2 |
|
| 3 |
header_title = """
|
| 4 |
-
|
| 5 |
""".strip()
|
| 6 |
|
| 7 |
time_button = """
|
|
|
|
| 1 |
# HTML content for the header section
|
| 2 |
|
| 3 |
header_title = """
|
| 4 |
+
Generate about an hour of audio per minute on the Kokoro-82M TTS model, with unexpected quality
|
| 5 |
""".strip()
|
| 6 |
|
| 7 |
time_button = """
|