Spaces:
Running
on
Zero
Running
on
Zero
chong.zhang
commited on
Commit
·
416b764
1
Parent(s):
372eac8
update
Browse files
app.py
CHANGED
@@ -178,8 +178,8 @@ def main():
|
|
178 |
|
179 |
audio_input = gr.Audio(
|
180 |
label="Input Audio Prompt (For Music Continuation Task)",
|
181 |
-
type="filepath")
|
182 |
-
music_output = gr.Audio(label="Generated Music", type="filepath", autoplay=True)
|
183 |
|
184 |
with gr.Row():
|
185 |
button = gr.Button("Text to Music")
|
|
|
178 |
|
179 |
audio_input = gr.Audio(
|
180 |
label="Input Audio Prompt (For Music Continuation Task)",
|
181 |
+
type="filepath", sample_rate=24000)
|
182 |
+
music_output = gr.Audio(label="Generated Music", type="filepath", autoplay=True, show_download_button = True)
|
183 |
|
184 |
with gr.Row():
|
185 |
button = gr.Button("Text to Music")
|