jhtonyKoo commited on
Commit
86c8cd3
1 Parent(s): 6f6bb64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -33,9 +33,9 @@ def get_audio_from_yt_video(yt_link: str):
33
 
34
  def inference(file_uploaded_in, file_uploaded_ref):
35
 
36
- output_wav = None
37
 
38
- return output_wav
39
 
40
 
41
  with gr.Blocks() as demo:
@@ -105,13 +105,15 @@ with gr.Blocks() as demo:
105
  <div> <h3> <center> Mixing Style Transferred Output. </h3> </div>
106
  """
107
  )
108
- # with gr.Row().style(mobile_collapse=False, equal_height=True):
 
 
109
  with gr.Row():
110
  output_mix = gr.File(label="Download style transferred music track")
111
  inference_btn.click(
112
  inference,
113
  inputs=[file_uploaded_in, file_uploaded_ref],
114
- outputs=[wav_output],
115
  )
116
 
117
 
 
33
 
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
 
40
 
41
  with gr.Blocks() as demo:
 
105
  <div> <h3> <center> Mixing Style Transferred Output. </h3> </div>
106
  """
107
  )
108
+ with gr.Row().style(mobile_collapse=False, equal_height=True):
109
+ output_mix_l = gr.Audio(label="Listen to output mix")
110
+ output_mix_p = gr.Audio(label="Download output mix")
111
  with gr.Row():
112
  output_mix = gr.File(label="Download style transferred music track")
113
  inference_btn.click(
114
  inference,
115
  inputs=[file_uploaded_in, file_uploaded_ref],
116
+ outputs=[output_mix_l, output_mix_p],
117
  )
118
 
119