Spaces:
Running
on
Zero
Running
on
Zero
AlekseyCalvin
commited on
Commit
•
b82739e
1
Parent(s):
026a400
Update pipeline.py
Browse files- pipeline.py +3 -3
pipeline.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import torch
|
2 |
import numpy as np
|
3 |
-
from diffusers import FlowMatchEulerDiscreteScheduler
|
4 |
-
from diffusers import StableDiffusion3Pipeline
|
5 |
from diffusers.pipelines.flux.pipeline_output import FluxPipelineOutput
|
6 |
from typing import Any, Callable, Dict, List, Optional, Union
|
7 |
from PIL import Image
|
8 |
-
from diffusers.pipelines.flux.pipeline_flux import calculate_shift, retrieve_timesteps
|
9 |
|
10 |
from diffusers.utils import is_torch_xla_available
|
11 |
|
|
|
1 |
import torch
|
2 |
import numpy as np
|
3 |
+
from diffusers import FlowMatchEulerDiscreteScheduler, AutoPipelineForImage2Image, FluxPipeline, CLIPTokenizer, T5TokenizerFast, T5EncoderModel,
|
4 |
+
from diffusers import StableDiffusion3Pipeline, AutoencoderKL, CLIPTextModelWithProjection
|
5 |
from diffusers.pipelines.flux.pipeline_output import FluxPipelineOutput
|
6 |
from typing import Any, Callable, Dict, List, Optional, Union
|
7 |
from PIL import Image
|
8 |
+
from diffusers.pipelines.flux.pipeline_flux import calculate_shift, retrieve_timesteps, FluxTransformer2DModel
|
9 |
|
10 |
from diffusers.utils import is_torch_xla_available
|
11 |
|