fix: stabilize V3.9 and bump package to 3.9.1
Preserve Second Pass audio and scoped Review conditioning, strengthen Take compatibility, and align Review Driving Audio. Keep v5 history readable, document v6 restart requirements, and describe the fixes at the top of both READMEs. Remove workstation-specific paths and private operational records from public documentation.
This commit is contained in:
+3
-3
@@ -10,6 +10,8 @@ from typing import Any
|
||||
|
||||
import torch
|
||||
|
||||
from .audio_compat import resample_audio
|
||||
|
||||
|
||||
REFERENCE_AUDIO_CONTRACT_VERSION = 1
|
||||
REFERENCE_AUDIO_PREPROCESS_VERSION = 1
|
||||
@@ -152,9 +154,7 @@ def _prepare_reference_audio_source(
|
||||
resampled = waveform
|
||||
if source_sample_rate != resolved_rate:
|
||||
try:
|
||||
import torchaudio
|
||||
|
||||
resampled = torchaudio.functional.resample(
|
||||
resampled = resample_audio(
|
||||
waveform, source_sample_rate, resolved_rate
|
||||
).contiguous()
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user