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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,11 +9,11 @@ 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
14
  5, # int | float (numeric value between 5 and 15) in 'Duration (seconds)' Slider component
15
  6.5, # int | float (numeric value between 0 and 7) in 'Guidance scale' Slider component
16
- seed, # int | float in 'Seed' Number component
17
  3, # int | float (numeric value between 1 and 5) in 'Number waveforms to generate' Slider component
18
  fn_index=1
19
  )
 
9
  # audioldm API ์‚ฌ์šฉํ•˜์—ฌ ์Œ์•… ์ƒ์„ฑ API ํ˜ธ์ถœ
10
  client = Client("https://haoheliu-audioldm2-text2audio-text2music.hf.space/")
11
  result = client.predict(
12
+ "The rnb beat of 85BPM drums. playing Violin.", # str in 'Input text' Textbox component
13
  "Low quality.", # str in 'Negative prompt' Textbox component
14
  5, # int | float (numeric value between 5 and 15) in 'Duration (seconds)' Slider component
15
  6.5, # int | float (numeric value between 0 and 7) in 'Guidance scale' Slider component
16
+ 5, # int | float in 'Seed' Number component
17
  3, # int | float (numeric value between 1 and 5) in 'Number waveforms to generate' Slider component
18
  fn_index=1
19
  )