Fix import

This commit is contained in:
filipstrand 2025-12-03 22:50:02 +01:00
parent 8e5609132c
commit c5f8b73d9d
2 changed files with 1 additions and 6 deletions

View File

@ -172,7 +172,7 @@ This is useful for integrating MFLUX into shell scripts or dynamically generatin
Alternatively, you can use MFLUX directly in Python:
```python
from mflux import Flux1
from mflux.models.flux.variants.txt2img.flux import Flux1
# Load the model
flux = Flux1.from_name(

View File

@ -4,8 +4,3 @@ import os
# This must be set before any tokenizers are imported/used
if "TOKENIZERS_PARALLELISM" not in os.environ:
os.environ["TOKENIZERS_PARALLELISM"] = "false"
# Export main classes for convenient import
from mflux.models.flux.variants.txt2img.flux import Flux1
__all__ = ["Flux1"]