Spaces:
Running
Running
Commit
·
edd0615
1
Parent(s):
b49913f
feat: looping
Browse files
app.py
CHANGED
@@ -175,7 +175,9 @@ with gr.Blocks() as demo:
|
|
175 |
|
176 |
with gr.Row():
|
177 |
with gr.Column():
|
178 |
-
audio_input = gr.Audio(
|
|
|
|
|
179 |
with gr.Row():
|
180 |
random_button = gr.Button(
|
181 |
f"Randomise PCs",
|
@@ -210,7 +212,7 @@ with gr.Blocks() as demo:
|
|
210 |
|
211 |
with gr.Column():
|
212 |
audio_output = gr.Audio(
|
213 |
-
type="numpy", label="Output Audio", interactive=False
|
214 |
)
|
215 |
json_output = gr.JSON(label="Effect Settings", max_height=800, open=True)
|
216 |
|
|
|
175 |
|
176 |
with gr.Row():
|
177 |
with gr.Column():
|
178 |
+
audio_input = gr.Audio(
|
179 |
+
type="numpy", sources="upload", label="Input Audio", loop=True
|
180 |
+
)
|
181 |
with gr.Row():
|
182 |
random_button = gr.Button(
|
183 |
f"Randomise PCs",
|
|
|
212 |
|
213 |
with gr.Column():
|
214 |
audio_output = gr.Audio(
|
215 |
+
type="numpy", label="Output Audio", interactive=False, loop=True
|
216 |
)
|
217 |
json_output = gr.JSON(label="Effect Settings", max_height=800, open=True)
|
218 |
|