dunktra commited on
Commit
b26a77d
·
verified ·
1 Parent(s): f2106d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def generate_music(theme: str) -> str:
18
  theme: The theme or mood of the music (e.g., 'moody jazz on a rainy night').
19
  """
20
  response = requests.post(
21
- "https://huggingface.co/sander-wood/text-to-music",
22
  json={"prompt": theme}
23
  )
24
  if response.status_code == 200:
 
18
  theme: The theme or mood of the music (e.g., 'moody jazz on a rainy night').
19
  """
20
  response = requests.post(
21
+ "https://huggingface.co/facebook/musicgen-large",
22
  json={"prompt": theme}
23
  )
24
  if response.status_code == 200: