Skip to content
Back to skills

Gradio Inference Apps

ASecurity

"Choose, inspect, configure, and safely adapt ControlNet 1.0 Gradio

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
code-qualitydebugging

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill gradio-inference-apps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gradio Inference Apps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gradio Inference Apps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-gradio-inference-apps/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-gradio-inference-apps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gradio-inference-apps
description: "Choose, inspect, configure, and safely adapt ControlNet 1.0 Gradio
  inference apps without importing launch scripts unless the user is
  intentionally running a prepared app."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# ControlNet Gradio Inference Apps

Use this sub-skill when a user asks to run, compare, inspect, debug, or adapt a ControlNet 1.0 Gradio app such as Canny, M-LSD/Hough, HED, scribble, interactive scribble, fake scribble, pose, segmentation, depth, or normal-map image generation.

## Route The Request

- For app selection, process signatures, Gradio controls, checkpoint names, detector thresholds, output list conventions, and DDIM arguments, read [references/app-parameter-reference.md](references/app-parameter-reference.md).
- For a safe end-to-end workflow that prepares model files, chooses an app, configures prompts/seed/guess mode/control strength, enables low VRAM, or adapts a `process(...)` function, read [references/inference-workflows.md](references/inference-workflows.md).
- For missing checkpoints, missing Gradio, CUDA/OOM, top-level import side effects, network downloads, nondeterministic seed behavior, and guess-mode surprises, read [references/troubleshooting.md](references/troubleshooting.md).
- To inspect app signatures and checkpoint/config string references without launching Gradio, run [scripts/extract_gradio_signatures.py](scripts/extract_gradio_signatures.py) against a ControlNet checkout.

## Quick Selection Guide

- Use Canny for crisp edges and threshold tuning; use M-LSD/Hough for straight architectural or room lines; use HED for soft boundaries and stylization/recoloring.
- Use scribble or interactive scribble for user-drawn sparse controls; use fake scribble when the user wants scribble-like controls synthesized from an image.
- Use pose for human body layout from an input image; use segmentation for ADE20K-style scene layout; use depth or normal map when the user wants geometry preservation.
- Prefer normal map over depth when fine surface orientation matters; prefer depth when coarse scene layout and relative distance are enough.

## Safety Boundaries

- Do not import `gradio_*2image.py` just to inspect metadata: those scripts create models, load checkpoints, move models to CUDA, instantiate samplers/detectors, and launch a server at module top level.
- Do not instantiate detectors, load checkpoints, start Gradio servers, download Hugging Face assets, or generate images from bundled scripts in this sub-skill.
- For detector-only preprocessing details, route to [../annotators-and-preprocessing/SKILL.md](../annotators-and-preprocessing/SKILL.md).
- For checkpoint conversion, config internals, and weight utilities, route to [../model-and-weight-utilities/SKILL.md](../model-and-weight-utilities/SKILL.md).
- For training, fine-tuning, data preparation, or dataset debugging, route to [../training-and-datasets/SKILL.md](../training-and-datasets/SKILL.md).

Files in this skill

  • SKILL.md3 KB
  • references/app-parameter-reference.md8 KB
  • references/inference-workflows.md6.6 KB
  • references/troubleshooting.md5.1 KB
  • scripts/extract_gradio_signatures.py6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.