Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	re-enables Stable Audio Open model
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -289,7 +289,7 @@ def infer(image_in, chosen_model): 
     | 
|
| 289 | 
         | 
| 290 | 
         
             
                Args:
         
     | 
| 291 | 
         
             
                    image_in: The filepath to an input image. This image is used as inspiration to generate music.
         
     | 
| 292 | 
         
            -
                    chosen_model: The name of the model to use for music generation. Supported values include: "Mustango", "AudioLDM-2", "Riffusion", "ACE Step".
         
     | 
| 293 | 
         | 
| 294 | 
         
             
                Returns:
         
     | 
| 295 | 
         
             
                    - A string containing the musical prompt generated from the image.
         
     | 
| 
         @@ -412,7 +412,7 @@ with gr.Blocks(css=css) as demo: 
     | 
|
| 412 | 
         
             
                                        "Riffusion",
         
     | 
| 413 | 
         
             
                                        "Mustango",
         
     | 
| 414 | 
         
             
                                        #"MusicGen",
         
     | 
| 415 | 
         
            -
                                         
     | 
| 416 | 
         
             
                                    ],
         
     | 
| 417 | 
         
             
                                    value = None,
         
     | 
| 418 | 
         
             
                                    filterable = False
         
     | 
| 
         | 
|
| 289 | 
         | 
| 290 | 
         
             
                Args:
         
     | 
| 291 | 
         
             
                    image_in: The filepath to an input image. This image is used as inspiration to generate music.
         
     | 
| 292 | 
         
            +
                    chosen_model: The name of the model to use for music generation. Supported values include: "Mustango", "AudioLDM-2", "Riffusion", "ACE Step", "Stable Audio Open".
         
     | 
| 293 | 
         | 
| 294 | 
         
             
                Returns:
         
     | 
| 295 | 
         
             
                    - A string containing the musical prompt generated from the image.
         
     | 
| 
         | 
|
| 412 | 
         
             
                                        "Riffusion",
         
     | 
| 413 | 
         
             
                                        "Mustango",
         
     | 
| 414 | 
         
             
                                        #"MusicGen",
         
     | 
| 415 | 
         
            +
                                        "Stable Audio Open"
         
     | 
| 416 | 
         
             
                                    ],
         
     | 
| 417 | 
         
             
                                    value = None,
         
     | 
| 418 | 
         
             
                                    filterable = False
         
     |