teticio commited on
Commit
d8c6a4b
1 Parent(s): 68cfd69

fix for latest version of diffusers

Browse files
audiodiffusion/__init__.py CHANGED
@@ -9,7 +9,7 @@ from tqdm.auto import tqdm
9
  # from diffusers import AudioDiffusionPipeline
10
  from .pipeline_audio_diffusion import AudioDiffusionPipeline
11
 
12
- VERSION = "1.4.2"
13
 
14
 
15
  class AudioDiffusion:
 
9
  # from diffusers import AudioDiffusionPipeline
10
  from .pipeline_audio_diffusion import AudioDiffusionPipeline
11
 
12
+ VERSION = "1.5.0"
13
 
14
 
15
  class AudioDiffusion:
audiodiffusion/pipeline_audio_diffusion.py CHANGED
@@ -21,8 +21,16 @@ from typing import List, Tuple, Union
21
 
22
  import numpy as np
23
  import torch
24
- from diffusers import AutoencoderKL, DDIMScheduler, DDPMScheduler, UNet2DConditionModel
25
- from diffusers.pipeline_utils import AudioPipelineOutput, BaseOutput, DiffusionPipeline, ImagePipelineOutput
 
 
 
 
 
 
 
 
26
  from PIL import Image
27
 
28
  from .mel import Mel
 
21
 
22
  import numpy as np
23
  import torch
24
+ from diffusers import (
25
+ AudioPipelineOutput,
26
+ AutoencoderKL,
27
+ DDIMScheduler,
28
+ DDPMScheduler,
29
+ DiffusionPipeline,
30
+ ImagePipelineOutput,
31
+ UNet2DConditionModel,
32
+ )
33
+ from diffusers.utils import BaseOutput
34
  from PIL import Image
35
 
36
  from .mel import Mel
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  torch
2
  numpy
3
  Pillow
4
- diffusers>=0.10.0
5
  librosa
6
  datasets
7
  gradio
 
1
  torch
2
  numpy
3
  Pillow
4
+ diffusers>=0.12.0
5
  librosa
6
  datasets
7
  gradio
setup.cfg CHANGED
@@ -15,6 +15,6 @@ install_requires =
15
  torch
16
  numpy
17
  Pillow
18
- diffusers>=0.10.0
19
  librosa
20
  datasets
 
15
  torch
16
  numpy
17
  Pillow
18
+ diffusers>=0.12.0
19
  librosa
20
  datasets