Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def download_youtube_clip(
|
|
137 |
return None
|
138 |
|
139 |
def predict(
|
140 |
-
speaker
|
141 |
audio,
|
142 |
transpose: int = 0,
|
143 |
auto_predict_f0: bool = False,
|
@@ -153,7 +153,7 @@ def predict(
|
|
153 |
audio, _ = librosa.load(audio, sr=model.target_sample, duration=duration_limit)
|
154 |
audio = model.infer_silence(
|
155 |
audio.astype(np.float32),
|
156 |
-
speaker=
|
157 |
transpose=transpose,
|
158 |
auto_predict_f0=auto_predict_f0,
|
159 |
cluster_infer_ratio=cluster_infer_ratio,
|
|
|
137 |
return None
|
138 |
|
139 |
def predict(
|
140 |
+
speaker,
|
141 |
audio,
|
142 |
transpose: int = 0,
|
143 |
auto_predict_f0: bool = False,
|
|
|
153 |
audio, _ = librosa.load(audio, sr=model.target_sample, duration=duration_limit)
|
154 |
audio = model.infer_silence(
|
155 |
audio.astype(np.float32),
|
156 |
+
speaker=speaker,
|
157 |
transpose=transpose,
|
158 |
auto_predict_f0=auto_predict_f0,
|
159 |
cluster_infer_ratio=cluster_infer_ratio,
|