Spaces:
Build error
Build error
Create Dockerfile
Browse files- Dockerfile +25 -0
Dockerfile
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
docker run -d -p 5000:5000 --gpus=all r8.im/zsxkib/realistic-voice-cloning@sha256:a0076ea13a704d9fa6d02535bc8951d3b141c84dc95d2d3f2f5016eabfcb8d94
|
2 |
+
curl -s -X POST \
|
3 |
+
-H "Content-Type: application/json" \
|
4 |
+
-d $'{
|
5 |
+
"input": {
|
6 |
+
"protect": 0.33,
|
7 |
+
"rvc_model": "Squidward",
|
8 |
+
"index_rate": 0.5,
|
9 |
+
"reverb_size": 0.15,
|
10 |
+
"pitch_change": "no-change",
|
11 |
+
"rms_mix_rate": 0.25,
|
12 |
+
"filter_radius": 3,
|
13 |
+
"output_format": "mp3",
|
14 |
+
"reverb_damping": 0.7,
|
15 |
+
"reverb_dryness": 0.8,
|
16 |
+
"reverb_wetness": 0.2,
|
17 |
+
"crepe_hop_length": 128,
|
18 |
+
"pitch_change_all": 0,
|
19 |
+
"main_vocals_volume_change": 0,
|
20 |
+
"pitch_detection_algorithm": "rmvpe",
|
21 |
+
"instrumental_volume_change": 0,
|
22 |
+
"backup_vocals_volume_change": 0
|
23 |
+
}
|
24 |
+
}' \
|
25 |
+
http://localhost:5000/predictions
|