Update src/flux/generate.py
Browse files- src/flux/generate.py +6 -6
src/flux/generate.py
CHANGED
@@ -21,12 +21,12 @@ from typing import List, Union, Optional, Dict, Any, Callable
|
|
21 |
from src.flux.transformer import tranformer_forward
|
22 |
from src.flux.condition import Condition
|
23 |
|
24 |
-
from diffusers.pipelines.flux.pipeline_flux import (
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
)
|
30 |
from src.flux.pipeline_tools import (
|
31 |
encode_prompt_with_clip_t5, tokenize_t5_prompt, clear_attn_maps, encode_vae_images
|
32 |
)
|
|
|
21 |
from src.flux.transformer import tranformer_forward
|
22 |
from src.flux.condition import Condition
|
23 |
|
24 |
+
# from diffusers.pipelines.flux.pipeline_flux import (
|
25 |
+
# FluxPipelineOutput,
|
26 |
+
# calculate_shift,
|
27 |
+
# retrieve_timesteps,
|
28 |
+
# np,
|
29 |
+
# )
|
30 |
from src.flux.pipeline_tools import (
|
31 |
encode_prompt_with_clip_t5, tokenize_t5_prompt, clear_attn_maps, encode_vae_images
|
32 |
)
|