fffiloni commited on
Commit
319b833
1 Parent(s): 8f90609

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,11 +110,11 @@ def get_audioldm(prompt):
110
  return audio_result
111
 
112
  def get_riffusion(prompt):
113
- client = Client("https://fffiloni-spectrogram-to-music.hf.space/--replicas/1qwjx/")
114
  result = client.predict(
115
  prompt, # str in 'Musical prompt' Textbox component
116
  "", # str in 'Negative prompt' Textbox component
117
- "", # filepath in 'parameter_4' Audio component
118
  10, # float (numeric value between 5 and 10) in 'Duration in seconds' Slider component
119
  api_name="/predict"
120
  )
 
110
  return audio_result
111
 
112
  def get_riffusion(prompt):
113
+ client = Client("https://fffiloni-spectrogram-to-music.hf.space/")
114
  result = client.predict(
115
  prompt, # str in 'Musical prompt' Textbox component
116
  "", # str in 'Negative prompt' Textbox component
117
+ None, # filepath in 'parameter_4' Audio component
118
  10, # float (numeric value between 5 and 10) in 'Duration in seconds' Slider component
119
  api_name="/predict"
120
  )