Skip to content

Commit

Permalink
First version rvc model
Browse files Browse the repository at this point in the history
  • Loading branch information
dobosevych committed Jan 10, 2024
1 parent a7e07f3 commit 0beb9cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions uberduck_ml_dev/models/rvc/vc_infer_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@

input_audio_path2wav = {}

class VCConfig:
def __init__(self, device="cpu"):
self.x_pad = 1
self.x_query = 6
self.x_center = 38
self.x_max = 41
self.is_half = False
self.device = device

@lru_cache
def cache_harvest_f0(input_audio_path, fs, f0max, f0min, frame_period):
Expand Down

0 comments on commit 0beb9cd

Please sign in to comment.