Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -171,7 +171,7 @@ with gr.Blocks(css=css) as demo: | |
| 171 |  | 
| 172 | 
             
                    with gr.Row():
         | 
| 173 | 
             
                        music_prompt = gr.Textbox(label="Musical Prompt", info="Describe what kind of music you wish for", interactive=True, placeholder="lofi slow bpm electro chill with organic samples")
         | 
| 174 | 
            -
                        melody = gr.Audio( | 
| 175 | 
             
                    with gr.Row():
         | 
| 176 | 
             
                        #model = gr.Radio(["melody", "medium", "small", "large"], label="MusicGen Model", value="melody", interactive=True)
         | 
| 177 | 
             
                        duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Generated Music Duration", interactive=True)
         | 
|  | |
| 171 |  | 
| 172 | 
             
                    with gr.Row():
         | 
| 173 | 
             
                        music_prompt = gr.Textbox(label="Musical Prompt", info="Describe what kind of music you wish for", interactive=True, placeholder="lofi slow bpm electro chill with organic samples")
         | 
| 174 | 
            +
                        melody = gr.Audio(sources="upload", type="numpy", label="Track Condition (from previous step)", interactive=False)
         | 
| 175 | 
             
                    with gr.Row():
         | 
| 176 | 
             
                        #model = gr.Radio(["melody", "medium", "small", "large"], label="MusicGen Model", value="melody", interactive=True)
         | 
| 177 | 
             
                        duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Generated Music Duration", interactive=True)
         | 
