Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ image_model = pipeline("image-classification", model="google/vit-base-patch16-22
|
|
7 |
|
8 |
def generate_music(prompt):
|
9 |
# audioldm API μ¬μ©νμ¬ μμ
μμ± API νΈμΆ
|
10 |
-
client = Client("https://
|
11 |
result = client.predict(
|
12 |
"playing piano.", # str in 'Input text' Textbox component
|
13 |
"Low quality.", # str in 'Negative prompt' Textbox component
|
@@ -23,7 +23,7 @@ def generate_music(prompt):
|
|
23 |
|
24 |
def generate_voice(prompt):
|
25 |
# Tango APIλ₯Ό μ¬μ©νμ¬ μμ± μμ±
|
26 |
-
client = Client("https://
|
27 |
result = client.predict(
|
28 |
prompt, # μ΄λ―Έμ§ λΆλ₯ κ²°κ³Όλ₯Ό ν둬ννΈλ‘ μ¬μ©
|
29 |
100, # Steps
|
|
|
7 |
|
8 |
def generate_music(prompt):
|
9 |
# audioldm API μ¬μ©νμ¬ μμ
μμ± API νΈμΆ
|
10 |
+
client = Client("https://haoheliu-audioldm-48k-text-to-hifiaudio-generation.hf.space/")
|
11 |
result = client.predict(
|
12 |
"playing piano.", # str in 'Input text' Textbox component
|
13 |
"Low quality.", # str in 'Negative prompt' Textbox component
|
|
|
23 |
|
24 |
def generate_voice(prompt):
|
25 |
# Tango APIλ₯Ό μ¬μ©νμ¬ μμ± μμ±
|
26 |
+
client = Client("https://declare-lab-tango.hf.space/")
|
27 |
result = client.predict(
|
28 |
prompt, # μ΄λ―Έμ§ λΆλ₯ κ²°κ³Όλ₯Ό ν둬ννΈλ‘ μ¬μ©
|
29 |
100, # Steps
|