fffiloni commited on
Commit
f466d5b
1 Parent(s): 7537592

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,7 +43,7 @@ def check_api(model_name):
43
  return "api not ready yet"
44
  elif model_name == "Stable Audio Open":
45
  try:
46
- client = Client("https://fffiloni-Stable-Audio-Open-A10.hf.space/", hf_token=hf_token)
47
  return "api ready"
48
  except:
49
  return "api not ready yet"
@@ -190,7 +190,7 @@ def get_musicgen(prompt):
190
  return result[1]
191
 
192
  def get_stable_audio_open(prompt):
193
- client = Client("https://fffiloni-Stable-Audio-Open-A10.hf.space/", hf_token=hf_token)
194
  result = client.predict(
195
  prompt=prompt,
196
  seconds_total=30,
 
43
  return "api not ready yet"
44
  elif model_name == "Stable Audio Open":
45
  try:
46
+ client = Client("fffiloni/Stable-Audio-Open-A10", hf_token=hf_token)
47
  return "api ready"
48
  except:
49
  return "api not ready yet"
 
190
  return result[1]
191
 
192
  def get_stable_audio_open(prompt):
193
+ client = Client("fffiloni/Stable-Audio-Open-A10", hf_token=hf_token)
194
  result = client.predict(
195
  prompt=prompt,
196
  seconds_total=30,