Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,8 @@ from transformers import pipeline
|
|
19 |
|
20 |
from flux.sampling import denoise, get_schedule, prepare, unpack
|
21 |
from flux.util import (configs, embed_watermark, load_ae, load_clip, load_flow_model, load_t5)
|
|
|
|
|
22 |
|
23 |
@dataclass
|
24 |
class SamplingOptions:
|
|
|
19 |
|
20 |
from flux.sampling import denoise, get_schedule, prepare, unpack
|
21 |
from flux.util import (configs, embed_watermark, load_ae, load_clip, load_flow_model, load_t5)
|
22 |
+
from huggingface_hub import login
|
23 |
+
login(token=os.getenv('Token'))
|
24 |
|
25 |
@dataclass
|
26 |
class SamplingOptions:
|