Move flux.py up one level

This commit is contained in:
filipstrand 2024-08-15 21:17:33 +02:00
parent 5af0763cc4
commit 65e0232cab
3 changed files with 8 additions and 7 deletions

View File

@ -46,10 +46,11 @@ or make a new separate script like the following
```python ```python
import sys import sys
sys.path.append("/path/to/mflux/src") sys.path.append("/path/to/mflux/src")
from flux_1_schnell.config.config import Config from flux_1_schnell.config.config import Config
from flux_1_schnell.models.flux import Flux1Schnell from flux_1_schnell.flux import Flux1Schnell
flux = Flux1Schnell("black-forest-labs/FLUX.1-schnell") flux = Flux1Schnell("black-forest-labs/FLUX.1-schnell")

View File

@ -4,7 +4,7 @@ import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'src'))) sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
from flux_1_schnell.config.config import Config from flux_1_schnell.config.config import Config
from flux_1_schnell.models.flux import Flux1Schnell from flux_1_schnell.flux import Flux1Schnell
flux = Flux1Schnell("black-forest-labs/FLUX.1-schnell") flux = Flux1Schnell("black-forest-labs/FLUX.1-schnell")