CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-gradio--client

JavaScript and TypeScript client library for interacting with Gradio APIs, providing methods to connect to, submit predictions to, and manage connections with Gradio applications.

96

1.11x
Quality

Pending

Does it follow best practices?

Impact

96%

1.11x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses @gradio/client package functions to handle gallery data structures. It focuses on proper usage of the package's file handling utilities, specifically prepare_files() for processing File arrays, and walk_and_store_blobs() for traversing nested gallery structures.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses prepare_files",
      "description": "Uses the prepare_files() function from @gradio/client to convert File array to FileData array with metadata extraction",
      "max_score": 40
    },
    {
      "name": "Handles nested structures",
      "description": "Uses walk_and_store_blobs() or similar traversal utilities from @gradio/client to process nested gallery arrays recursively",
      "max_score": 30
    },
    {
      "name": "FileData structure usage",
      "description": "Properly utilizes FileData interface/type from @gradio/client for representing processed gallery items with path, original_name, size, and mime_type",
      "max_score": 20
    },
    {
      "name": "Handles edge cases",
      "description": "Correctly handles empty arrays and maintains proper data structure format expected by @gradio/client gallery serializer",
      "max_score": 10
    }
  ]
}

tile.json