Huggingface gradio

From metaspartan/cybara · View interactive version

Huggingface gradio is an AI agent skill from the GitHub repository metaspartan/cybara. Build, test, and publish accessible Gradio interfaces for models and data workflows using reproducible Python environments.

How to use this skill

Skill file

Hugging Face Gradio

Use Gradio for focused model demos, dataset tools, and internal evaluation interfaces.

Workflow

  1. Define the smallest input and output schema that demonstrates the workflow.
  2. Put model loading outside the request handler and bound concurrency, queue size, timeouts, and upload sizes.
  3. Validate file types and user input before inference.
  4. Build the app in a UV-managed environment and run it locally first.
  5. Exercise keyboard navigation, labels, loading, empty, error, cancellation, and mobile-width states.
  6. Measure cold start and warmed request latency.
  7. Add authentication before exposing private models, datasets, or outputs.

Do not enable a public share link or deploy a Space unless the user explicitly requests that external action. Before deployment, review secrets, repository visibility, hardware, sleep behavior, and expected cost.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.