Spaces:
Runtime error
Runtime error
internetsignal
commited on
Commit
•
ec21e38
1
Parent(s):
10e097c
Update app.py
Browse filesSwitched back to other model
app.py
CHANGED
@@ -15,7 +15,7 @@ else:
|
|
15 |
torch_dtype = torch.float32
|
16 |
|
17 |
# load the diffusers pipeline
|
18 |
-
repo_id = "cvssp/audioldm-
|
19 |
pipe = AudioLDMPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype).to(device)
|
20 |
pipe.unet = torch.compile(pipe.unet)
|
21 |
|
@@ -161,7 +161,7 @@ with iface:
|
|
161 |
gr.HTML(
|
162 |
"""
|
163 |
<p>This is the demo for AudioLDM, powered by 🧨 Diffusers. Demo uses the checkpoint <a
|
164 |
-
href="https://huggingface.co/cvssp/audioldm-
|
165 |
queue, you may duplicate the space and upgrade to a GPU in the settings. <br/> <a
|
166 |
href="https://huggingface.co/spaces/haoheliu/audioldm-text-to-audio-generation?duplicate=true"> <img
|
167 |
style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> <p/>
|
|
|
15 |
torch_dtype = torch.float32
|
16 |
|
17 |
# load the diffusers pipeline
|
18 |
+
repo_id = "cvssp/audioldm-m-full"
|
19 |
pipe = AudioLDMPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype).to(device)
|
20 |
pipe.unet = torch.compile(pipe.unet)
|
21 |
|
|
|
161 |
gr.HTML(
|
162 |
"""
|
163 |
<p>This is the demo for AudioLDM, powered by 🧨 Diffusers. Demo uses the checkpoint <a
|
164 |
+
href="https://huggingface.co/cvssp/audioldm-m-full"> audioldm-m-full </a>. For faster inference without waiting in
|
165 |
queue, you may duplicate the space and upgrade to a GPU in the settings. <br/> <a
|
166 |
href="https://huggingface.co/spaces/haoheliu/audioldm-text-to-audio-generation?duplicate=true"> <img
|
167 |
style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> <p/>
|