Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,10 @@ korean_labels = {
|
|
42 |
}
|
43 |
|
44 |
# load pipelines (토큰 인증 추가)
|
45 |
-
base_model = "black-forest-labs/FLUX.1-dev"
|
|
|
|
|
|
|
46 |
|
47 |
taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.bfloat16, use_auth_token=hf_token).to("cuda")
|
48 |
pipe = FluxPipeline.from_pretrained(base_model,
|
|
|
42 |
}
|
43 |
|
44 |
# load pipelines (토큰 인증 추가)
|
45 |
+
# base_model = "black-forest-labs/FLUX.1-dev"
|
46 |
+
|
47 |
+
base_model = "black-forest-labs/FLUX.1-schnell"
|
48 |
+
|
49 |
|
50 |
taef1 = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.bfloat16, use_auth_token=hf_token).to("cuda")
|
51 |
pipe = FluxPipeline.from_pretrained(base_model,
|