1
0
mirror of https://github.com/fumiama/RVC-Models-Downloader.git synced 2026-01-22 07:43:47 +09:00

4 Commits

Author SHA1 Message Date
源文雨
bdb4b458b9 feat: add DVAE_full.pt 2024-07-18 18:15:23 +09:00
源文雨
2be2bcb536 feat(chtts): drop copy of config 2024-07-16 16:54:24 +09:00
源文雨
4c39b7de22 feat: support proxy from env (#4)
ref https://stackoverflow.com/questions/69789948/go-ignores-http-proxy-environment-variable
2024-07-10 18:55:26 +09:00
源文雨
24ed668d84 chore: update hf dns 2024-06-17 18:20:29 +09:00
5 changed files with 26 additions and 32 deletions

View File

@@ -3,15 +3,9 @@ Targets:
- Folder: asset
Copy:
- asset/DVAE.pt
- asset/DVAE_full.pt
- asset/Decoder.pt
- asset/GPT.pt
- asset/Vocos.pt
- asset/spk_stat.pt
- asset/tokenizer.pt
- Folder: config
Copy:
- config/decoder.yaml
- config/dvae.yaml
- config/gpt.yaml
- config/path.yaml
- config/vocos.yaml

View File

@@ -1,28 +1,28 @@
Servers: {}
Fallbacks:
cdn-lfs.huggingface.co:
- 3.163.218.77
- 3.163.218.75
- 3.163.218.60
- 3.163.218.88
- 2600:9000:26a9:6e00:11:f807:5180:93a1
- 2600:9000:26a9:8400:11:f807:5180:93a1
- 2600:9000:26a9:e400:11:f807:5180:93a1
- 2600:9000:26a9:6400:11:f807:5180:93a1
- 2600:9000:26a9:f400:11:f807:5180:93a1
- 2600:9000:26a9:ec00:11:f807:5180:93a1
- 2600:9000:26a9:6600:11:f807:5180:93a1
- 2600:9000:26a9:fa00:11:f807:5180:93a1
- 13.249.146.70
- 13.249.146.79
- 13.249.146.118
- 13.249.146.81
- 2600:9000:2112:1200:11:f807:5180:93a1
- 2600:9000:2112:5600:11:f807:5180:93a1
- 2600:9000:2112:bc00:11:f807:5180:93a1
- 2600:9000:2112:c200:11:f807:5180:93a1
- 2600:9000:2112:da00:11:f807:5180:93a1
- 2600:9000:2112:7600:11:f807:5180:93a1
- 2600:9000:2112:6600:11:f807:5180:93a1
- 2600:9000:2112:be00:11:f807:5180:93a1
huggingface.co:
- 18.65.159.75
- 18.65.159.63
- 18.65.159.2
- 18.65.159.20
- 2600:9000:2218:9200:17:b174:6d00:93a1
- 2600:9000:2218:e00:17:b174:6d00:93a1
- 2600:9000:2218:4800:17:b174:6d00:93a1
- 2600:9000:2218:6c00:17:b174:6d00:93a1
- 2600:9000:2218:b200:17:b174:6d00:93a1
- 2600:9000:2218:6800:17:b174:6d00:93a1
- 2600:9000:2218:c800:17:b174:6d00:93a1
- 2600:9000:2218:2e00:17:b174:6d00:93a1
- 2600:9000:2218:2400:17:b174:6d00:93a1
- 2600:9000:2218:5c00:17:b174:6d00:93a1
- 2600:9000:2218:de00:17:b174:6d00:93a1
- 2600:9000:2218:3600:17:b174:6d00:93a1
- 2600:9000:2218:3000:17:b174:6d00:93a1
- 2600:9000:2218:3200:17:b174:6d00:93a1
- 2600:9000:2218:2600:17:b174:6d00:93a1
- 2600:9000:2218:a200:17:b174:6d00:93a1

2
go.mod
View File

@@ -3,7 +3,7 @@ module rvcmd
go 1.22.1
require (
github.com/fumiama/terasu v0.0.0-20240502091919-c887e26289a8
github.com/fumiama/terasu v0.0.0-20240710095334-67a8daa3a979
github.com/gizak/termui/v3 v3.1.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.9.3

4
go.sum
View File

@@ -5,8 +5,8 @@ github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7/go.mod h1:vD7Ra3Q9o
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fumiama/terasu v0.0.0-20240502091919-c887e26289a8 h1:mVOgOhlrF0ra8/BkwVA71ev/1HkzAgDn8gWU2UNbDU8=
github.com/fumiama/terasu v0.0.0-20240502091919-c887e26289a8/go.mod h1:UVx8YP1jKKL1Cj+uy+OnQRM2Ih6U36Mqy9GSf7jabsI=
github.com/fumiama/terasu v0.0.0-20240710095334-67a8daa3a979 h1:1xSO4SvPfiw5TVeaS5ASFcl82rXH3jG8Obab0+JOC/8=
github.com/fumiama/terasu v0.0.0-20240710095334-67a8daa3a979/go.mod h1:UVx8YP1jKKL1Cj+uy+OnQRM2Ih6U36Mqy9GSf7jabsI=
github.com/gizak/termui/v3 v3.1.0 h1:ZZmVDgwHl7gR7elfKf1xc4IudXZ5qqfDh4wExk4Iajc=
github.com/gizak/termui/v3 v3.1.0/go.mod h1:bXQEBkJpzxUAKf0+xq9MSWAvWZlE7c+aidmyFlkYTrY=
github.com/mattn/go-runewidth v0.0.2 h1:UnlwIPBGaTZfPQ6T1IGzPI0EkYAQmT9fAEJ/poFC63o=

4
net.go
View File

@@ -11,7 +11,7 @@ import (
"sync"
"time"
"github.com/fumiama/terasu/http2"
trshttp "github.com/fumiama/terasu/http"
"github.com/pkg/errors"
)
@@ -75,7 +75,7 @@ func (c *config) download(path, prefix, ua string, waits time.Duration, usecust,
}
var resp *http.Response
if usetrs {
resp, err = http2.DefaultClient.Do(req)
resp, err = trshttp.DefaultClient.Do(req)
} else {
resp, err = http.DefaultClient.Do(req)
}