Spaces:
Paused
Paused
typo
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ def neuron_export(model_id: str, model_type: str, task_or_pipeline: str,
|
|
138 |
# This will fail if the user doesn't have access to the gated repo's files.
|
139 |
# pipe = FluxPipeline.from_pretrained(pretrained_model_name_or_path="black-forest-labs/FLUX.1-Krea-dev", torch_dtype=torch.bfloat16, token=oauth_token.token)
|
140 |
|
141 |
-
model =
|
142 |
"black-forest-labs/FLUX.1-Krea-dev",
|
143 |
export=True,
|
144 |
tensor_parallel_size=4,
|
|
|
138 |
# This will fail if the user doesn't have access to the gated repo's files.
|
139 |
# pipe = FluxPipeline.from_pretrained(pretrained_model_name_or_path="black-forest-labs/FLUX.1-Krea-dev", torch_dtype=torch.bfloat16, token=oauth_token.token)
|
140 |
|
141 |
+
model = NeuronFluxPipeline.from_pretrained(
|
142 |
"black-forest-labs/FLUX.1-Krea-dev",
|
143 |
export=True,
|
144 |
tensor_parallel_size=4,
|