Update app.py
Browse files
app.py
CHANGED
@@ -92,8 +92,9 @@ with gr.Blocks() as demo:
|
|
92 |
</h1>
|
93 |
</div>
|
94 |
<p style="margin-bottom: 10px; font-size: 94%">
|
95 |
-
Hugging Face interactive demo of the paper "Music Mixing Style Transfer: A Contrastive Learning Approach to Disentangle Audio Effects" (ICASSP 2023).<br>
|
96 |
-
|
|
|
97 |
</div>
|
98 |
"""
|
99 |
)
|
@@ -137,11 +138,11 @@ with gr.Blocks() as demo:
|
|
137 |
with gr.Group():
|
138 |
gr.HTML(
|
139 |
"""
|
140 |
-
<div> <h3> <center> Mixing Style Transfer. </h3> </div>
|
141 |
"""
|
142 |
)
|
143 |
with gr.Column():
|
144 |
-
inference_btn = gr.Button("
|
145 |
with gr.Row():
|
146 |
output_mix = gr.Audio(label="mixing style transferred music track")
|
147 |
inference_btn.click(
|
@@ -154,11 +155,11 @@ with gr.Blocks() as demo:
|
|
154 |
with gr.Group():
|
155 |
gr.HTML(
|
156 |
"""
|
157 |
-
<div> <h3> <center> Mastering Style Transfer.
|
158 |
"""
|
159 |
)
|
160 |
with gr.Column():
|
161 |
-
inference_mastering_btn = gr.Button("
|
162 |
with gr.Row():
|
163 |
output_master = gr.Audio(label="mastering style transferred music track")
|
164 |
inference_mastering_btn.click(
|
|
|
92 |
</h1>
|
93 |
</div>
|
94 |
<p style="margin-bottom: 10px; font-size: 94%">
|
95 |
+
Hugging Face interactive demo of the paper ["Music Mixing Style Transfer: A Contrastive Learning Approach to Disentangle Audio Effects"](https://huggingface.co/papers/2211.02247) (ICASSP 2023).<br>
|
96 |
+
|
97 |
+
Transfer the input track's mixing style to that of reference's by uploading files or downloading via YouTube links. This demo page also provides mastering style transfer, which can be interpreted as an extended work of [this paper](https://huggingface.co/papers/2202.08520).
|
98 |
</div>
|
99 |
"""
|
100 |
)
|
|
|
138 |
with gr.Group():
|
139 |
gr.HTML(
|
140 |
"""
|
141 |
+
<div> <h3> <center> Mixing Style Transfer. Perform stem-wise audio-effects style conversion by first source separating the input mix. This inference computation time might take a while. so be patient... </h3> </div>
|
142 |
"""
|
143 |
)
|
144 |
with gr.Column():
|
145 |
+
inference_btn = gr.Button("Run Mixing Style Transfer")
|
146 |
with gr.Row():
|
147 |
output_mix = gr.Audio(label="mixing style transferred music track")
|
148 |
inference_btn.click(
|
|
|
155 |
with gr.Group():
|
156 |
gr.HTML(
|
157 |
"""
|
158 |
+
<div> <h3> <center> Mastering Style Transfer. Perform mastering style transfer using the FXencoder.</h3> </div>
|
159 |
"""
|
160 |
)
|
161 |
with gr.Column():
|
162 |
+
inference_mastering_btn = gr.Button("Run Mastering Style Transfer")
|
163 |
with gr.Row():
|
164 |
output_master = gr.Audio(label="mastering style transferred music track")
|
165 |
inference_mastering_btn.click(
|