seawolf2357 commited on
Commit
60b7470
ยท
verified ยท
1 Parent(s): 7047a68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ image_model = pipeline("image-classification", model="google/vit-base-patch16-22
7
 
8
  def generate_music(prompt):
9
  # audioldm API ์‚ฌ์šฉํ•˜์—ฌ ์Œ์•… ์ƒ์„ฑ API ํ˜ธ์ถœ
10
- client = Client("https://haoheliu-audioldm2-text2audio-text2music.hf.space/")
11
  result = client.predict(
12
  "playing piano.", # str in 'Input text' Textbox component
13
  "Low quality.", # str in 'Negative prompt' Textbox component
 
7
 
8
  def generate_music(prompt):
9
  # audioldm API ์‚ฌ์šฉํ•˜์—ฌ ์Œ์•… ์ƒ์„ฑ API ํ˜ธ์ถœ
10
+ client = Client("https://declare-lab-tango.hf.space/")
11
  result = client.predict(
12
  "playing piano.", # str in 'Input text' Textbox component
13
  "Low quality.", # str in 'Negative prompt' Textbox component