Spaces:
Running
Running
mrfakename
commited on
Commit
•
769b7d2
1
Parent(s):
da11b76
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import styletts2importable
|
3 |
import ljspeechimportable
|
@@ -158,7 +172,7 @@ Run this demo locally using Docker:
|
|
158 |
```bash
|
159 |
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all registry.hf.space/styletts2-styletts2:latest python app.py
|
160 |
```
|
161 |
-
""")
|
162 |
if __name__ == "__main__":
|
163 |
# demo.queue(api_open=False, max_size=15).launch(show_api=False)
|
164 |
demo.queue(api_open=False, max_size=15).launch(show_api=False)
|
|
|
1 |
+
# # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
2 |
+
# #
|
3 |
+
# StyleTTS 2 Demo #
|
4 |
+
# #
|
5 |
+
# #
|
6 |
+
# Copyright (c) 2023 mrfakename. All rights reserved. #
|
7 |
+
# #
|
8 |
+
# License : AGPL v3 #
|
9 |
+
# Version : 2.0 #
|
10 |
+
# Support : https://github.com/neuralvox/styletts2 #
|
11 |
+
# #
|
12 |
+
# # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
13 |
+
|
14 |
+
|
15 |
import gradio as gr
|
16 |
import styletts2importable
|
17 |
import ljspeechimportable
|
|
|
172 |
```bash
|
173 |
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all registry.hf.space/styletts2-styletts2:latest python app.py
|
174 |
```
|
175 |
+
""") # Please do not remove this line.
|
176 |
if __name__ == "__main__":
|
177 |
# demo.queue(api_open=False, max_size=15).launch(show_api=False)
|
178 |
demo.queue(api_open=False, max_size=15).launch(show_api=False)
|