chong.zhang commited on
Commit
c0f3cb8
·
1 Parent(s): 27621cc
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -151,9 +151,6 @@ with gr.Blocks() as demo:
151
  max_generate_audio_seconds = gr.Slider(10, 300,
152
  label="Max Generated Audio Length (Seconds)",
153
  value=30)
154
- with gr.Row():
155
- fast = gr.Checkbox(label="Fast Inference", value=False)
156
- fade_out = gr.Checkbox(label="Apply Fade Out Effect", value=True)
157
 
158
  # Textbox for custom input
159
  text_input = gr.Textbox(label="Input Text (For Text-to-Music Task)")
@@ -161,6 +158,10 @@ with gr.Blocks() as demo:
161
  audio_input = gr.Audio(label="Input Audio (For Music Continuation Task)",
162
  type="filepath")
163
 
 
 
 
 
164
  music_output = gr.Audio(label="Generated Music Result", type="filepath")
165
 
166
  with gr.Row():
 
151
  max_generate_audio_seconds = gr.Slider(10, 300,
152
  label="Max Generated Audio Length (Seconds)",
153
  value=30)
 
 
 
154
 
155
  # Textbox for custom input
156
  text_input = gr.Textbox(label="Input Text (For Text-to-Music Task)")
 
158
  audio_input = gr.Audio(label="Input Audio (For Music Continuation Task)",
159
  type="filepath")
160
 
161
+ with gr.Row():
162
+ fast = gr.Checkbox(label="Fast Inference", value=False)
163
+ fade_out = gr.Checkbox(label="Apply Fade Out Effect", value=True)
164
+
165
  music_output = gr.Audio(label="Generated Music Result", type="filepath")
166
 
167
  with gr.Row():