Master0fNone commited on
Commit
4c3dee6
·
verified ·
1 Parent(s): 8ed7fee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  import soundfile as sf
5
 
6
  # Load your pre-trained text-to-music model (example: using a music generation model)
7
- model = pipeline("text-to-music", model="facebook/musicge-small")
8
 
9
  # Function to process text and generate music
10
  def generate_music(text_input):
 
4
  import soundfile as sf
5
 
6
  # Load your pre-trained text-to-music model (example: using a music generation model)
7
+ model = pipeline("text-to-music", model="facebook/musicgen-small")
8
 
9
  # Function to process text and generate music
10
  def generate_music(text_input):