Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,8 @@ print("loading ChatTTS model...")
|
|
| 13 |
chat = ChatTTS.Chat()
|
| 14 |
chat.load_models()
|
| 15 |
|
|
|
|
|
|
|
| 16 |
def generate_seed():
|
| 17 |
new_seed = random.randint(1, 100000000)
|
| 18 |
return {
|
|
@@ -60,6 +62,7 @@ def main():
|
|
| 60 |
|
| 61 |
|
| 62 |
with gr.Blocks() as demo:
|
|
|
|
| 63 |
gr.Markdown("# ChatTTS Webui")
|
| 64 |
gr.Markdown("ChatTTS Model: [2noise/ChatTTS](https://github.com/2noise/ChatTTS)")
|
| 65 |
|
|
|
|
| 13 |
chat = ChatTTS.Chat()
|
| 14 |
chat.load_models()
|
| 15 |
|
| 16 |
+
|
| 17 |
+
|
| 18 |
def generate_seed():
|
| 19 |
new_seed = random.randint(1, 100000000)
|
| 20 |
return {
|
|
|
|
| 62 |
|
| 63 |
|
| 64 |
with gr.Blocks() as demo:
|
| 65 |
+
gr.LoginButton()
|
| 66 |
gr.Markdown("# ChatTTS Webui")
|
| 67 |
gr.Markdown("ChatTTS Model: [2noise/ChatTTS](https://github.com/2noise/ChatTTS)")
|
| 68 |
|