Spaces:
Running
Running
gradio update
Browse files
app.py
CHANGED
@@ -57,6 +57,7 @@ def generate_audio(text, temperature, top_P, top_K, audio_seed_input, text_seed_
|
|
57 |
|
58 |
def main():
|
59 |
|
|
|
60 |
with gr.Blocks() as demo:
|
61 |
gr.Markdown("# ChatTTS Webui")
|
62 |
gr.Markdown("ChatTTS Model: [2noise/ChatTTS](https://github.com/2noise/ChatTTS)")
|
@@ -98,7 +99,8 @@ def main():
|
|
98 |
parser.add_argument('--server_port', type=int, default=8080, help='Server port')
|
99 |
args = parser.parse_args()
|
100 |
|
101 |
-
demo.launch(server_name=args.server_name, server_port=args.server_port, inbrowser=True)
|
|
|
102 |
|
103 |
|
104 |
if __name__ == '__main__':
|
|
|
57 |
|
58 |
def main():
|
59 |
|
60 |
+
|
61 |
with gr.Blocks() as demo:
|
62 |
gr.Markdown("# ChatTTS Webui")
|
63 |
gr.Markdown("ChatTTS Model: [2noise/ChatTTS](https://github.com/2noise/ChatTTS)")
|
|
|
99 |
parser.add_argument('--server_port', type=int, default=8080, help='Server port')
|
100 |
args = parser.parse_args()
|
101 |
|
102 |
+
# demo.launch(server_name=args.server_name, server_port=args.server_port, inbrowser=True)
|
103 |
+
demo.launch()
|
104 |
|
105 |
|
106 |
if __name__ == '__main__':
|