jhtonyKoo commited on
Commit
4534858
1 Parent(s): 590bcbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -96,7 +96,9 @@ with gr.Blocks() as demo:
96
  inputs=[yt_link_ref],
97
  outputs=[yt_audio_path, file_uploaded_ref],
98
  )
99
-
 
 
100
  with gr.Group():
101
  gr.HTML(
102
  """
@@ -106,7 +108,7 @@ with gr.Blocks() as demo:
106
  # with gr.Row().style(mobile_collapse=False, equal_height=True):
107
  with gr.Row():
108
  output_mix = gr.File(label="Download style transferred music track")
109
- generate_btn.click(
110
  inference,
111
  inputs=[file_uploaded_in, file_uploaded_ref],
112
  outputs=[wav_output],
 
96
  inputs=[yt_link_ref],
97
  outputs=[yt_audio_path, file_uploaded_ref],
98
  )
99
+ with gr.Column():
100
+ inference_btn = gr.Button("Perform Style Transfer")
101
+
102
  with gr.Group():
103
  gr.HTML(
104
  """
 
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],