Spaces:
Configuration error
Configuration error
Maitreya Patel
commited on
Commit
·
f96d864
1
Parent(s):
bd95874
minor changes
Browse files
requirements.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
accelerate
|
| 2 |
datasets
|
| 3 |
diffusers==0.24.0
|
| 4 |
-
numpy==1.26.
|
| 5 |
packaging==23.2
|
| 6 |
pandas_stubs==1.2.0.57
|
| 7 |
Pillow==10.1.0
|
|
|
|
| 1 |
accelerate
|
| 2 |
datasets
|
| 3 |
diffusers==0.24.0
|
| 4 |
+
numpy==1.26.4
|
| 5 |
packaging==23.2
|
| 6 |
pandas_stubs==1.2.0.57
|
| 7 |
Pillow==10.1.0
|
src/pipelines/pipeline_kandinsky_prior.py
CHANGED
|
@@ -18,11 +18,11 @@ from diffusers.utils import (
|
|
| 18 |
is_accelerate_available,
|
| 19 |
is_accelerate_version,
|
| 20 |
logging,
|
| 21 |
-
randn_tensor,
|
| 22 |
replace_example_docstring,
|
| 23 |
)
|
| 24 |
from diffusers.pipelines.pipeline_utils import DiffusionPipeline
|
| 25 |
-
|
| 26 |
|
| 27 |
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|
| 28 |
|
|
|
|
| 18 |
is_accelerate_available,
|
| 19 |
is_accelerate_version,
|
| 20 |
logging,
|
| 21 |
+
# randn_tensor,
|
| 22 |
replace_example_docstring,
|
| 23 |
)
|
| 24 |
from diffusers.pipelines.pipeline_utils import DiffusionPipeline
|
| 25 |
+
from diffusers.utils.torch_utils import randn_tensor
|
| 26 |
|
| 27 |
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|
| 28 |
|
src/pipelines/pipeline_unclip.py
CHANGED
|
@@ -12,7 +12,8 @@ from transformers.models.clip.modeling_clip import CLIPTextModelOutput
|
|
| 12 |
|
| 13 |
from diffusers.models import UNet2DConditionModel, UNet2DModel
|
| 14 |
from diffusers.schedulers import UnCLIPScheduler
|
| 15 |
-
from diffusers.utils import logging
|
|
|
|
| 16 |
from diffusers.pipelines.pipeline_utils import DiffusionPipeline, ImagePipelineOutput
|
| 17 |
from diffusers.pipelines.unclip.text_proj import UnCLIPTextProjModel
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
from diffusers.models import UNet2DConditionModel, UNet2DModel
|
| 14 |
from diffusers.schedulers import UnCLIPScheduler
|
| 15 |
+
from diffusers.utils import logging #, randn_tensor
|
| 16 |
+
from diffusers.utils.torch_utils import randn_tensor
|
| 17 |
from diffusers.pipelines.pipeline_utils import DiffusionPipeline, ImagePipelineOutput
|
| 18 |
from diffusers.pipelines.unclip.text_proj import UnCLIPTextProjModel
|
| 19 |
|