jhtonyKoo commited on
Commit
71c3a7e
1 Parent(s): 62d3f63

modify app

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -10,11 +10,8 @@ from config import args
10
  mastering_transfer = MasteringStyleTransfer(args)
11
 
12
  def process_audio(input_audio, reference_audio):
13
- print(input_audio)
14
- # input_tensor = mastering_transfer.preprocess_audio(input_audio, args.sample_rate)
15
- # reference_tensor = mastering_transfer.preprocess_audio(reference_audio, args.sample_rate)
16
  output_audio, predicted_params, _, _, _, sr = mastering_transfer.process_audio(
17
- input_audio, reference_audio, reference_tensor, {}, False
18
  )
19
 
20
  param_output = mastering_transfer.get_param_output_string(predicted_params)
 
10
  mastering_transfer = MasteringStyleTransfer(args)
11
 
12
  def process_audio(input_audio, reference_audio):
 
 
 
13
  output_audio, predicted_params, _, _, _, sr = mastering_transfer.process_audio(
14
+ input_audio, reference_audio, reference_audio, {}, False
15
  )
16
 
17
  param_output = mastering_transfer.get_param_output_string(predicted_params)