Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,13 +114,9 @@ if __name__ == '__main__':
|
|
| 114 |
device = torch.device(args.device)
|
| 115 |
categories = ["Honkai: Star Rail", "Blue Archive", "Lycoris Recoil"]
|
| 116 |
others = {
|
| 117 |
-
"Princess Connect! Re:Dive": "https://huggingface.co/spaces/sayashi/vits-models-pcr",
|
| 118 |
-
"Genshin Impact": "https://huggingface.co/spaces/sayashi/vits-models-genshin-bh3",
|
| 119 |
-
"Honkai Impact 3rd": "https://huggingface.co/spaces/sayashi/vits-models-genshin-bh3",
|
| 120 |
-
"Overwatch 2": "https://huggingface.co/spaces/sayashi/vits-models-ow2",
|
| 121 |
}
|
| 122 |
if args.all:
|
| 123 |
-
categories = ["Honkai: Star Rail", "Blue Archive", "Lycoris Recoil"
|
| 124 |
others = {}
|
| 125 |
models = []
|
| 126 |
with open("pretrained_models/info.json", "r", encoding="utf-8") as f:
|
|
@@ -147,11 +143,7 @@ if __name__ == '__main__':
|
|
| 147 |
with gr.Blocks() as app:
|
| 148 |
gr.Markdown(
|
| 149 |
"# <center> vits-models\n"
|
| 150 |
-
"## <center> Please do not generate content that could infringe upon the rights or cause harm to individuals or organizations.\n"
|
| 151 |
"## <center> 请不要生成会对个人以及组织造成侵害的内容\n\n"
|
| 152 |
-
"[](https://colab.research.google.com/drive/10QOk9NPgoKZUXkIhhuVaZ7SYra1MPMKH?usp=share_link)\n\n"
|
| 153 |
-
"[](https://huggingface.co/spaces/sayashi/vits-models?duplicate=true)\n\n"
|
| 154 |
-
"[](https://github.com/SayaSS/vits-finetuning)"
|
| 155 |
)
|
| 156 |
|
| 157 |
with gr.Tabs():
|
|
|
|
| 114 |
device = torch.device(args.device)
|
| 115 |
categories = ["Honkai: Star Rail", "Blue Archive", "Lycoris Recoil"]
|
| 116 |
others = {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
}
|
| 118 |
if args.all:
|
| 119 |
+
categories = ["Honkai: Star Rail", "Blue Archive", "Lycoris Recoil"]
|
| 120 |
others = {}
|
| 121 |
models = []
|
| 122 |
with open("pretrained_models/info.json", "r", encoding="utf-8") as f:
|
|
|
|
| 143 |
with gr.Blocks() as app:
|
| 144 |
gr.Markdown(
|
| 145 |
"# <center> vits-models\n"
|
|
|
|
| 146 |
"## <center> 请不要生成会对个人以及组织造成侵害的内容\n\n"
|
|
|
|
|
|
|
|
|
|
| 147 |
)
|
| 148 |
|
| 149 |
with gr.Tabs():
|