Spaces:
Running
Running
UPDATE
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ with gr.Blocks(title="Audio Fusion") as iface:
|
|
69 |
# 8d Effect and its arguments
|
70 |
with gr.Tab("8d Effect"):
|
71 |
d_check = gr.Checkbox(label="Apply 8D effect")
|
72 |
-
with gr.
|
73 |
pan = gr.Slider(label="8D - Pan Boundary", minimum=0, maximum=100, value=100)
|
74 |
jump = gr.Slider(label="8D - Jump Percentage", minimum=1, maximum=100, value=5)
|
75 |
time = gr.Slider(label="8D - Time L to R (s)", minimum=1, maximum=30, value=10)
|
@@ -78,13 +78,13 @@ with gr.Blocks(title="Audio Fusion") as iface:
|
|
78 |
# SLowed Effect and its arguments
|
79 |
with gr.Tab("Slowed Effect"):
|
80 |
speed_check = gr.Checkbox(label="Apply slowed effect"),
|
81 |
-
with gr.
|
82 |
speed = gr.Slider(label="Slowed - Speed Multiplier", minimum=0.1, maximum=4, step=0.01, value=0.92),
|
83 |
|
84 |
# Reverb Effect and its arguments
|
85 |
with gr.Tab("Reverb Effect"):
|
86 |
reverb_check = gr.Checkbox(label="Apply reverb effect"),
|
87 |
-
with gr.
|
88 |
room = gr.Slider(label="Reverb - Room Size", minimum=0, maximum=2, step=0.01, value=0.8),
|
89 |
damp = gr.Slider(label="Reverb - Damping", minimum=0, maximum=2, value=1),
|
90 |
width = gr.Slider(label="Reverb - Width", minimum=0, maximum=2, step=0.1, value=0.5),
|
@@ -92,7 +92,7 @@ with gr.Blocks(title="Audio Fusion") as iface:
|
|
92 |
dry = gr.Slider(label="Reverb - Dry Level", minimum=0, maximum=2, step=0.1, value=0.8),
|
93 |
|
94 |
inputs = [input_audio, d_check, pan, jump, time, volx, speed_check, speed, reverb_check, room, damp, width, wet, dry]
|
95 |
-
output = gr.Audio(label="Download processed music", type="filepath")
|
96 |
|
97 |
btn = gr.Button("Run")
|
98 |
btn.click(fn=process_audio, inputs=inputs, outputs=output, api_name="AudioFusion")
|
|
|
69 |
# 8d Effect and its arguments
|
70 |
with gr.Tab("8d Effect"):
|
71 |
d_check = gr.Checkbox(label="Apply 8D effect")
|
72 |
+
with gr.Row():
|
73 |
pan = gr.Slider(label="8D - Pan Boundary", minimum=0, maximum=100, value=100)
|
74 |
jump = gr.Slider(label="8D - Jump Percentage", minimum=1, maximum=100, value=5)
|
75 |
time = gr.Slider(label="8D - Time L to R (s)", minimum=1, maximum=30, value=10)
|
|
|
78 |
# SLowed Effect and its arguments
|
79 |
with gr.Tab("Slowed Effect"):
|
80 |
speed_check = gr.Checkbox(label="Apply slowed effect"),
|
81 |
+
with gr.Row():
|
82 |
speed = gr.Slider(label="Slowed - Speed Multiplier", minimum=0.1, maximum=4, step=0.01, value=0.92),
|
83 |
|
84 |
# Reverb Effect and its arguments
|
85 |
with gr.Tab("Reverb Effect"):
|
86 |
reverb_check = gr.Checkbox(label="Apply reverb effect"),
|
87 |
+
with gr.Row():
|
88 |
room = gr.Slider(label="Reverb - Room Size", minimum=0, maximum=2, step=0.01, value=0.8),
|
89 |
damp = gr.Slider(label="Reverb - Damping", minimum=0, maximum=2, value=1),
|
90 |
width = gr.Slider(label="Reverb - Width", minimum=0, maximum=2, step=0.1, value=0.5),
|
|
|
92 |
dry = gr.Slider(label="Reverb - Dry Level", minimum=0, maximum=2, step=0.1, value=0.8),
|
93 |
|
94 |
inputs = [input_audio, d_check, pan, jump, time, volx, speed_check, speed, reverb_check, room, damp, width, wet, dry]
|
95 |
+
output = [gr.Audio(label="Download processed music", type="filepath")]
|
96 |
|
97 |
btn = gr.Button("Run")
|
98 |
btn.click(fn=process_audio, inputs=inputs, outputs=output, api_name="AudioFusion")
|