jhtonyKoo commited on
Commit
166943a
1 Parent(s): 66e10e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -15,6 +15,8 @@ import pytube as pt
15
 
16
  from pytube.exceptions import VideoUnavailable
17
 
 
 
18
 
19
 
20
 
@@ -34,6 +36,12 @@ def get_audio_from_yt_video(yt_link: str):
34
  def inference(file_uploaded_in, file_uploaded_ref):
35
 
36
  output_wav_path = None
 
 
 
 
 
 
37
 
38
  return output_wav_path, output_wav_path
39
 
 
15
 
16
  from pytube.exceptions import VideoUnavailable
17
 
18
+ from inference.style_transfer import *
19
+
20
 
21
 
22
 
 
36
  def inference(file_uploaded_in, file_uploaded_ref):
37
 
38
  output_wav_path = None
39
+
40
+ # Perform music mixing style transfer
41
+ args = set_up()
42
+
43
+ inference_style_transfer = Mixing_Style_Transfer_Inference(args)
44
+ output_wav_path = inference_style_transfer.inference(None, None)
45
 
46
  return output_wav_path, output_wav_path
47