From a1f0914713aa272bb9792778f0aff28712454f43 Mon Sep 17 00:00:00 2001 From: ai-modelscope Date: Wed, 26 Feb 2025 20:20:00 +0800 Subject: [PATCH] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b48b7a..8399557 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ pipeline_tag: text-to-image
alibaba - alimama + alimama
[中文版Readme](./README_ZH.md) @@ -40,10 +40,9 @@ This model can be used ditrectly with diffusers ```python import torch from diffusers.pipelines import FluxPipeline -from modelscope import snapshot_download -model_id = snapshot_download("AI-ModelScope/FLUX.1-dev") -adapter_id = snapshot_download("alimama-creative/FLUX.1-Turbo-Alpha") +model_id = "black-forest-labs/FLUX.1-dev" +adapter_id = "alimama-creative/FLUX.1-Turbo-Alpha" pipe = FluxPipeline.from_pretrained( model_id, @@ -62,7 +61,6 @@ image = pipe( width=1024, num_inference_steps=8, max_sequence_length=512).images[0] -image.save("image.png") ``` ## comfyui