Update app.py
Browse files
app.py
CHANGED
|
@@ -707,6 +707,8 @@ if __name__ == "__main__":
|
|
| 707 |
from SDLens import HookedStableDiffusionXLPipeline
|
| 708 |
from SAE import SparseAutoencoder
|
| 709 |
from huggingface_hub import hf_hub_download
|
|
|
|
|
|
|
| 710 |
|
| 711 |
dtype = torch.float16
|
| 712 |
pipe = EditedFluxPipeline.from_pretrained(
|
|
|
|
| 707 |
from SDLens import HookedStableDiffusionXLPipeline
|
| 708 |
from SAE import SparseAutoencoder
|
| 709 |
from huggingface_hub import hf_hub_download
|
| 710 |
+
from huggingface_hub import login
|
| 711 |
+
login(token=os.environ["HF_TOKEN"])
|
| 712 |
|
| 713 |
dtype = torch.float16
|
| 714 |
pipe = EditedFluxPipeline.from_pretrained(
|