Spaces:
Running
Running
UPDATE
Browse files
app.py
CHANGED
@@ -31,8 +31,31 @@ def process_audio(input_file,
|
|
31 |
return output
|
32 |
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
with gr.Blocks(title="Audio Fusion") as iface:
|
35 |
-
gr.Markdown(
|
36 |
input_audio = gr.Audio(label="Upload your music file", type="filepath")
|
37 |
|
38 |
# SLowed Effect and its arguments
|
@@ -96,6 +119,8 @@ with gr.Blocks(title="Audio Fusion") as iface:
|
|
96 |
inputs = [input_audio, dimension_check, pan, jump, time, volx, speed_check, speed, reverb_check, room, damp, width, wet, dry]
|
97 |
output = [gr.Audio(label="Download processed music", type="filepath")]
|
98 |
|
|
|
|
|
99 |
btnClear.add(components=output)
|
100 |
btnRun.click(fn=process_audio, inputs=inputs, outputs=output, api_name="AudioFusion")
|
101 |
|
|
|
31 |
return output
|
32 |
|
33 |
|
34 |
+
before_text = """<div align="center">
|
35 |
+
<h1>AudioFusion</h1>
|
36 |
+
<i>Add a touch of uniqueness with various customizable effects like slowed and reverb.</i>
|
37 |
+
</div>
|
38 |
+
|
39 |
+
<br><hr><br>"""
|
40 |
+
|
41 |
+
after_text = """
|
42 |
+
## Todo
|
43 |
+
|
44 |
+
\# Acapella Extractor<br>
|
45 |
+
\# Karoke Maker<br>
|
46 |
+
\# Bass Booster<br>
|
47 |
+
\# Volume Booster<br>
|
48 |
+
|
49 |
+
|
50 |
+
## Inspiration & Credits
|
51 |
+
|
52 |
+
- Special thanks to [Jiaaro](https://github.com/jiaaro) for pydub. AudioFusion is mainly wrapped around pydub
|
53 |
+
|
54 |
+
- My Soundscapes of Serenity - [Because](https://t.me/bcuzwhynot)
|
55 |
+
"""
|
56 |
+
|
57 |
with gr.Blocks(title="Audio Fusion") as iface:
|
58 |
+
gr.Markdown(before_text)
|
59 |
input_audio = gr.Audio(label="Upload your music file", type="filepath")
|
60 |
|
61 |
# SLowed Effect and its arguments
|
|
|
119 |
inputs = [input_audio, dimension_check, pan, jump, time, volx, speed_check, speed, reverb_check, room, damp, width, wet, dry]
|
120 |
output = [gr.Audio(label="Download processed music", type="filepath")]
|
121 |
|
122 |
+
gr.Markdown(after_text)
|
123 |
+
|
124 |
btnClear.add(components=output)
|
125 |
btnRun.click(fn=process_audio, inputs=inputs, outputs=output, api_name="AudioFusion")
|
126 |
|