Skip to content

Commit

Permalink
Merge pull request #763 from ShiromiyaG/fix-arguments
Browse files Browse the repository at this point in the history
Fix arguments missing in infer call
  • Loading branch information
Vidalnt authored Sep 29, 2024
2 parents 4744891 + f993d22 commit ada3a9f
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2302,6 +2302,42 @@ def main():
formant_timbre=args.formant_timbre,
embedder_model_custom=args.embedder_model_custom,
sid=args.sid,
post_process=args.post_process,
reverb=args.reverb,
pitch_shift=args.pitch_shift,
limiter=args.limiter,
gain=args.gain,
distortion=args.distortion,
chorus=args.chorus,
bitcrush=args.bitcrush,
clipping=args.clipping,
compressor=args.compressor,
delay=args.delay,
reverb_room_size=args.reverb_room_size,
reverb_damping=args.reverb_damping,
reverb_wet_gain=args.reverb_wet_gain,
reverb_dry_gain=args.reverb_dry_gain,
reverb_width=args.reverb_width,
reverb_freeze_mode=args.reverb_freeze_mode,
pitch_shift_semitones=args.pitch_shift_semitones,
limiter_threshold=args.limiter_threshold,
limiter_release_time=args.limiter_release_time,
gain_db=args.gain_db,
distortion_gain=args.distortion_gain,
chorus_rate=args.chorus_rate,
chorus_depth=args.chorus_depth,
chorus_center_delay=args.chorus_center_delay,
chorus_feedback=args.chorus_feedback,
chorus_mix=args.chorus_mix,
bitcrush_bit_depth=args.bitcrush_bit_depth,
clipping_threshold=args.clipping_threshold,
compressor_threshold=args.compressor_threshold,
compressor_ratio=args.compressor_ratio,
compressor_attack=args.compressor_attack,
compressor_release=args.compressor_release,
delay_seconds=args.delay_seconds,
delay_feedback=args.delay_feedback,
delay_mix=args.delay_mix,
)
elif args.mode == "batch_infer":
run_batch_infer_script(
Expand Down Expand Up @@ -2329,6 +2365,42 @@ def main():
formant_qfrency=args.formant_qfrency,
formant_timbre=args.formant_timbre,
sid=args.sid,
post_process=args.post_process,
reverb=args.reverb,
pitch_shift=args.pitch_shift,
limiter=args.limiter,
gain=args.gain,
distortion=args.distortion,
chorus=args.chorus,
bitcrush=args.bitcrush,
clipping=args.clipping,
compressor=args.compressor,
delay=args.delay,
reverb_room_size=args.reverb_room_size,
reverb_damping=args.reverb_damping,
reverb_wet_gain=args.reverb_wet_gain,
reverb_dry_gain=args.reverb_dry_gain,
reverb_width=args.reverb_width,
reverb_freeze_mode=args.reverb_freeze_mode,
pitch_shift_semitones=args.pitch_shift_semitones,
limiter_threshold=args.limiter_threshold,
limiter_release_time=args.limiter_release_time,
gain_db=args.gain_db,
distortion_gain=args.distortion_gain,
chorus_rate=args.chorus_rate,
chorus_depth=args.chorus_depth,
chorus_center_delay=args.chorus_center_delay,
chorus_feedback=args.chorus_feedback,
chorus_mix=args.chorus_mix,
bitcrush_bit_depth=args.bitcrush_bit_depth,
clipping_threshold=args.clipping_threshold,
compressor_threshold=args.compressor_threshold,
compressor_ratio=args.compressor_ratio,
compressor_attack=args.compressor_attack,
compressor_release=args.compressor_release,
delay_seconds=args.delay_seconds,
delay_feedback=args.delay_feedback,
delay_mix=args.delay_mix,
)
elif args.mode == "tts":
run_tts_script(
Expand Down

0 comments on commit ada3a9f

Please sign in to comment.