Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -250,7 +250,7 @@ def generate(text, voice='af', ps=None, speed=1, _reduce_noise=0.5, trim=3000, _
|
|
250 |
def toggle_autoplay(autoplay):
|
251 |
return gr.Audio(interactive=False, label='Output Audio', autoplay=autoplay)
|
252 |
|
253 |
-
USE_GPU_CHOICES = [('Auto 🔀', 'auto'), ('CPU 💬', False), ('ZeroGPU
|
254 |
USE_GPU_INFOS = {
|
255 |
'auto': 'Use CPU or GPU, whichever is faster',
|
256 |
False: 'CPU is ~faster <100 tokens',
|
@@ -523,7 +523,7 @@ with gr.Blocks() as changelog:
|
|
523 |
### 22 Nov 2024
|
524 |
🚀 Model v0.19
|
525 |
🧪 Validation losses: 0.261 mel / 0.627 dur / 1.897 f0
|
526 |
-
|
527 |
|
528 |
### 15 Nov 2024
|
529 |
🚀 Model v0.16
|
@@ -536,8 +536,8 @@ with gr.Blocks() as changelog:
|
|
536 |
|
537 |
with gr.Blocks() as app:
|
538 |
gr.TabbedInterface(
|
539 |
-
[basic_tts, lf_tts, about],
|
540 |
-
['🔥 Basic TTS', '📖 Long-Form', 'ℹ️ About'],
|
541 |
)
|
542 |
|
543 |
if __name__ == '__main__':
|
|
|
250 |
def toggle_autoplay(autoplay):
|
251 |
return gr.Audio(interactive=False, label='Output Audio', autoplay=autoplay)
|
252 |
|
253 |
+
USE_GPU_CHOICES = [('Auto 🔀', 'auto'), ('CPU 💬', False), ('ZeroGPU 📄', True)]
|
254 |
USE_GPU_INFOS = {
|
255 |
'auto': 'Use CPU or GPU, whichever is faster',
|
256 |
False: 'CPU is ~faster <100 tokens',
|
|
|
523 |
### 22 Nov 2024
|
524 |
🚀 Model v0.19
|
525 |
🧪 Validation losses: 0.261 mel / 0.627 dur / 1.897 f0
|
526 |
+
📄 https://hf.co/blog/hexgrad/kokoro-short-burst-upgrade
|
527 |
|
528 |
### 15 Nov 2024
|
529 |
🚀 Model v0.16
|
|
|
536 |
|
537 |
with gr.Blocks() as app:
|
538 |
gr.TabbedInterface(
|
539 |
+
[basic_tts, lf_tts, about, changelog],
|
540 |
+
['🔥 Basic TTS', '📖 Long-Form', 'ℹ️ About', '📝 Changelog'],
|
541 |
)
|
542 |
|
543 |
if __name__ == '__main__':
|