Instructions to use UmeAiRT/ComfyUI-Auto-Installer-Assets with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use UmeAiRT/ComfyUI-Auto-Installer-Assets with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("UmeAiRT/ComfyUI-Auto-Installer-Assets", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
ComfyUI-Auto-Installer-Assets / models /LLM /Florence-2-base-PromptGen-v2.0 /preprocessor_config.json
Download models/LLM/Florence-2-base-PromptGen-v2.0/preprocessor_config.json from UmeAiRT/ComfyUI-Auto-Installer-Assets: direct link, hf CLI and curl.
- Browser
- Download file 603 Bytes
-
https://huggingface.co/UmeAiRT/ComfyUI-Auto-Installer-Assets/resolve/73b7161c2aa8e18def568ce25c247db38f422f88/models/LLM/Florence-2-base-PromptGen-v2.0/preprocessor_config.json
- Command line
-
hf download hf://UmeAiRT/ComfyUI-Auto-Installer-Assets@73b7161c2aa8e18def568ce25c247db38f422f88/models/LLM/Florence-2-base-PromptGen-v2.0/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/UmeAiRT/ComfyUI-Auto-Installer-Assets/resolve/73b7161c2aa8e18def568ce25c247db38f422f88/models/LLM/Florence-2-base-PromptGen-v2.0/preprocessor_config.json
603 Bytes
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_florence2.Florence2Processor" | |
| }, | |
| "crop_size": { | |
| "height": 768, | |
| "width": 768 | |
| }, | |
| "do_center_crop": false, | |
| "do_convert_rgb": null, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "CLIPImageProcessor", | |
| "image_seq_length": 577, | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "processor_class": "Florence2Processor", | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 768, | |
| "width": 768 | |
| } | |
| } | |