fffiloni commited on
Commit
1678c48
1 Parent(s): de05f69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -68,11 +68,10 @@ def get_magnet(prompt):
68
  return result[0]['video']
69
 
70
  def get_audioldm(prompt):
71
- amended_prompt = f"No Music. {prompt}"
72
  print(amended_prompt)
73
  client = Client("https://haoheliu-audioldm2-text2audio-text2music.hf.space/")
74
  result = client.predict(
75
- amended_prompt, # str in 'Input text' Textbox component
76
  "Low quality. Music.", # str in 'Negative prompt' Textbox component
77
  10, # int | float (numeric value between 5 and 15) in 'Duration (seconds)' Slider component
78
  3.5, # int | float (numeric value between 0 and 7) in 'Guidance scale' Slider component
 
68
  return result[0]['video']
69
 
70
  def get_audioldm(prompt):
 
71
  print(amended_prompt)
72
  client = Client("https://haoheliu-audioldm2-text2audio-text2music.hf.space/")
73
  result = client.predict(
74
+ prompt, # str in 'Input text' Textbox component
75
  "Low quality. Music.", # str in 'Negative prompt' Textbox component
76
  10, # int | float (numeric value between 5 and 15) in 'Duration (seconds)' Slider component
77
  3.5, # int | float (numeric value between 0 and 7) in 'Guidance scale' Slider component