Spaces:
Running
on
Zero
Running
on
Zero
Adjust label styling and reduce max lines for text input in TTS demo
Browse files
app.py
CHANGED
@@ -185,7 +185,9 @@ with gr.Blocks(title="Kokoro TTS Demo", css="""
|
|
185 |
}
|
186 |
.token-label {
|
187 |
font-size: 1rem;
|
188 |
-
margin-bottom: 0.
|
|
|
|
|
189 |
}
|
190 |
.token-count {
|
191 |
color: #4169e1;
|
@@ -254,7 +256,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 |
-
max_lines=
|
258 |
show_label=False,
|
259 |
show_copy_button=True # Add copy button for convenience
|
260 |
)
|
|
|
185 |
}
|
186 |
.token-label {
|
187 |
font-size: 1rem;
|
188 |
+
margin-bottom: 0.3rem;
|
189 |
+
text-align: center;
|
190 |
+
padding: 0.2rem 0;
|
191 |
}
|
192 |
.token-count {
|
193 |
color: #4169e1;
|
|
|
256 |
placeholder="Enter text here, select a chapter, or upload a .txt file",
|
257 |
value=initial_text,
|
258 |
lines=8,
|
259 |
+
max_lines=14,
|
260 |
show_label=False,
|
261 |
show_copy_button=True # Add copy button for convenience
|
262 |
)
|