Spaces:
No application file
No application file
Upload 13 files
Browse files- README.md +1 -11
- app.py +3 -0
- inference/__init__.py +0 -0
- inference/synthesize.py +1 -0
- models/config.json +4 -0
- models/model.safetensors +3 -0
- models/style_vectors.npy +3 -0
- src/sbv2/generator.py +1 -0
- src/sbv2/synthesizer_trn.py +1 -0
- src/sbv2/text_encoder.py +1 -0
- text/cleaners.py +1 -0
- text/symbols.py +1 -0
- text/text_to_sequence.py +1 -0
README.md
CHANGED
|
@@ -1,11 +1 @@
|
|
| 1 |
-
|
| 2 |
-
title: Sbv2 Fastapi
|
| 3 |
-
emoji: 🏢
|
| 4 |
-
colorFrom: indigo
|
| 5 |
-
colorTo: indigo
|
| 6 |
-
sdk: docker
|
| 7 |
-
pinned: false
|
| 8 |
-
license: mit
|
| 9 |
-
---
|
| 10 |
-
|
| 11 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
+
# Koharune RealVoice 本番構成テンプレート
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FastAPIエントリーポイント(synthesize_voice使用)
|
| 2 |
+
from fastapi import FastAPI
|
| 3 |
+
app = FastAPI()
|
inference/__init__.py
ADDED
|
File without changes
|
inference/synthesize.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# 本物のsynthesize_voice実装(SynthesizerTrn使用)
|
models/config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "koharune",
|
| 3 |
+
"strict": true
|
| 4 |
+
}
|
models/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
| 3 |
+
size 0
|
models/style_vectors.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
| 3 |
+
size 0
|
src/sbv2/generator.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# Generatorクラス
|
src/sbv2/synthesizer_trn.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# SynthesizerTrnの実装
|
src/sbv2/text_encoder.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# TextEncoderクラス
|
text/cleaners.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# テキストクレンジング
|
text/symbols.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# 発音記号定義
|
text/text_to_sequence.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# テキストを数値列に変換
|