jhtonyKoo commited on
Commit
b78923f
1 Parent(s): 7195694

modify app

Browse files
Files changed (1) hide show
  1. inference.py +1 -0
inference.py CHANGED
@@ -105,6 +105,7 @@ class MasteringStyleTransfer:
105
  return min_loss_output, min_loss_params, min_loss_embedding, min_loss_step + 1
106
 
107
  def process_audio(self, input_audio, reference_audio, ito_reference_audio, params, perform_ito, log_ito=False):
 
108
  input_audio, reference_audio, ito_reference_audio = [
109
  np.stack([audio, audio]) if audio.ndim == 1 else audio.transpose(1,0)
110
  for audio in [input_audio, reference_audio, ito_reference_audio]
 
105
  return min_loss_output, min_loss_params, min_loss_embedding, min_loss_step + 1
106
 
107
  def process_audio(self, input_audio, reference_audio, ito_reference_audio, params, perform_ito, log_ito=False):
108
+ print(input_audio)
109
  input_audio, reference_audio, ito_reference_audio = [
110
  np.stack([audio, audio]) if audio.ndim == 1 else audio.transpose(1,0)
111
  for audio in [input_audio, reference_audio, ito_reference_audio]