Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from KOKORO.utils import tts,tts_file_name,podcast
|
|
| 4 |
import sys
|
| 5 |
sys.path.append('.')
|
| 6 |
import os
|
| 7 |
-
os.system("python download_model.py")
|
| 8 |
import torch
|
| 9 |
import gc
|
| 10 |
import platform
|
|
@@ -924,7 +924,7 @@ import click
|
|
| 924 |
@click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
|
| 925 |
@click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
|
| 926 |
def main(debug, share):
|
| 927 |
-
demo = gr.TabbedInterface([demo1, demo2,demo3,demo4,demo5], ["Batched TTS", "Multiple Speech-Type Generation","SRT Dubbing","Voice Mix","Available Voice Names"],title="Kokoro TTS")
|
| 928 |
|
| 929 |
demo.queue().launch(debug=debug, share=share)
|
| 930 |
#Run on local network
|
|
|
|
| 4 |
import sys
|
| 5 |
sys.path.append('.')
|
| 6 |
import os
|
| 7 |
+
# os.system("python download_model.py")
|
| 8 |
import torch
|
| 9 |
import gc
|
| 10 |
import platform
|
|
|
|
| 924 |
@click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
|
| 925 |
@click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
|
| 926 |
def main(debug, share):
|
| 927 |
+
demo = gr.TabbedInterface([demo1, demo2,demo3,demo4,demo5], ["Batched TTS", "Multiple Speech-Type Generation","SRT Dubbing","Voice Mix","Available Voice Names"],title="Kokoro TTS",theme='JohnSmith9982/small_and_pretty')
|
| 928 |
|
| 929 |
demo.queue().launch(debug=debug, share=share)
|
| 930 |
#Run on local network
|