Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,10 +20,9 @@ def generate_music(prompt):
|
|
20 |
print(result)
|
21 |
#audio_result = extract_audio(result)
|
22 |
return result"""
|
23 |
-
|
24 |
client = Client("https://haoheliu-audioldm-48k-text-to-hifiaudio-generation.hf.space/")
|
25 |
result = client.predict(
|
26 |
-
|
27 |
5, # int | float (numeric value between 5 and 15)
|
28 |
in 'Duration (seconds)' Slider component
|
29 |
0, # int | float (numeric value between 0 and 6)
|
|
|
20 |
print(result)
|
21 |
#audio_result = extract_audio(result)
|
22 |
return result"""
|
|
|
23 |
client = Client("https://haoheliu-audioldm-48k-text-to-hifiaudio-generation.hf.space/")
|
24 |
result = client.predict(
|
25 |
+
"Howdy!", # str in 'Input your text here. If the output is not good enough, switching to a different seed will help.' Textbox component
|
26 |
5, # int | float (numeric value between 5 and 15)
|
27 |
in 'Duration (seconds)' Slider component
|
28 |
0, # int | float (numeric value between 0 and 6)
|