seawolf2357 commited on
Commit
a6ac950
ยท
verified ยท
1 Parent(s): 3ba852d

Update app.py

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