Spaces:
Running
Running
modify app
Browse files
app.py
CHANGED
@@ -96,6 +96,7 @@ def process_audio(input_audio, reference_audio):
|
|
96 |
def perform_ito(input_audio, reference_audio, ito_reference_audio, num_steps, optimizer, learning_rate, af_weights):
|
97 |
if ito_reference_audio is None:
|
98 |
ito_reference_audio = reference_audio
|
|
|
99 |
|
100 |
ito_config = {
|
101 |
'optimizer': optimizer,
|
|
|
96 |
def perform_ito(input_audio, reference_audio, ito_reference_audio, num_steps, optimizer, learning_rate, af_weights):
|
97 |
if ito_reference_audio is None:
|
98 |
ito_reference_audio = reference_audio
|
99 |
+
af_weights = [float(w.strip()) for w in af_weights.split(',')]
|
100 |
|
101 |
ito_config = {
|
102 |
'optimizer': optimizer,
|