Spaces:
Runtime error
Runtime error
hungchiayu
commited on
Commit
•
515a050
1
Parent(s):
d193c14
Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,13 @@ from tqdm import tqdm
|
|
6 |
from huggingface_hub import snapshot_download
|
7 |
from models import AudioDiffusion, DDPMScheduler
|
8 |
from audioldm.audio.stft import TacotronSTFT
|
9 |
-
|
10 |
from pydub import AudioSegment
|
11 |
from gradio import Markdown
|
12 |
import spaces
|
13 |
|
14 |
import torch
|
15 |
-
from diffusers.models.autoencoder_kl import AutoencoderKL
|
16 |
from diffusers.models.unet_2d_condition import UNet2DConditionModel
|
17 |
from diffusers import DiffusionPipeline,AudioPipelineOutput
|
18 |
from transformers import CLIPTextModel, T5EncoderModel, AutoModel, T5Tokenizer, T5TokenizerFast
|
|
|
6 |
from huggingface_hub import snapshot_download
|
7 |
from models import AudioDiffusion, DDPMScheduler
|
8 |
from audioldm.audio.stft import TacotronSTFT
|
9 |
+
from audioldm.variational_autoencoder import AutoencoderKL
|
10 |
from pydub import AudioSegment
|
11 |
from gradio import Markdown
|
12 |
import spaces
|
13 |
|
14 |
import torch
|
15 |
+
#from diffusers.models.autoencoder_kl import AutoencoderKL
|
16 |
from diffusers.models.unet_2d_condition import UNet2DConditionModel
|
17 |
from diffusers import DiffusionPipeline,AudioPipelineOutput
|
18 |
from transformers import CLIPTextModel, T5EncoderModel, AutoModel, T5Tokenizer, T5TokenizerFast
|