small fix and update readme
This commit is contained in:
parent
e60cd79f0c
commit
3710f101e5
@ -133,6 +133,5 @@ Luxury food photograph of an italian Linguine pasta alle vongole dish with lots
|
||||
|
||||
### TODO
|
||||
|
||||
- FLUX Dev implementation
|
||||
- LoRA adapters
|
||||
- Command line args
|
||||
@ -33,7 +33,7 @@ class Flux1:
|
||||
def generate_image(self, seed: int, prompt: str, config: Config = Config()) -> PIL.Image.Image:
|
||||
sigmas = get_sigmas(config.num_inference_steps)
|
||||
if self.is_dev:
|
||||
sigmas = shift_sigmas(sigmas)
|
||||
sigmas = shift_sigmas(sigmas, config.width, config.height)
|
||||
latents = LatentCreator.create(config.height, config.width, seed)
|
||||
|
||||
t5_tokens = self.t5_tokenizer.tokenize(prompt)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user