FLUX.2 Klein multi-LoRA
by masterp3000co.huggingface.masterp3000/flux.2-klein-multi-lora
- Remote endpoint
- 7 tools
- APACHE-2.0
Tools
FLUX_2_Klein_Multi_LoRA_add_custom_loraFLUX_2_Klein_Multi_LoRA_add_custom_promptAll state is passed in and returned — never touches module-level globals. Each user session gets its own isolated copy via gr.State.FLUX_2_Klein_Multi_LoRA_delete_custom_promptFLUX_2_Klein_Multi_LoRA_inferCPU-side wrapper — handles pre/post processing and logging. The actual GPU work is delegated to _infer_gpu so that the _spawn_log daemon thread survives after the @spaces.GPU subprocess exits. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the toolFLUX_2_Klein_Multi_LoRA_on_gallery_changeUpdate image count info and size display when gallery changes. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the toolFLUX_2_Klein_Multi_LoRA_update_custom_prompt_displayFLUX_2_Klein_Multi_LoRA_update_weight_slidersGiven a list of selected LoRA titles, return updated visibility/label/value for each of the MAX_LORA_SLOTS pre-rendered sliders, plus an update for the LoRA prompt display box (visible when any selected LoRA has a default prompt). The user's own prompt is never touched here — LoRA prompts are shown separately and appended at inference time.
No tool matches.
As the server's own listing gives them. We never call a tool.