jhtonyKoo commited on
Commit
df67096
1 Parent(s): f9e9793

modify app

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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,