Spaces:
Running
Running
modify app
Browse files
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,
|
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)
|