Name (importers/chatterbox.go)

LocalAI · core/gallery/importers/chatterbox.go · go · MIT
voice

Importer for Resemble AI's Chatterbox TTS, detecting and configuring models for LocalAI.

// Source: https://github.com/mudler/LocalAI | License: MIT | Copyright 2023-2025 Ettore Di Giacinto (mudler@localai.io)
// Provided via justclaw.it.com; keep this notice with the code.
package importers

import (
	"encoding/json"
	"path/filepath"
	"strings"

	"github.com/mudler/LocalAI/core/config"
	"github.com/mudler/LocalAI/core/gallery"
	"github.com/mudler/LocalAI/core/schema"
	"go.yaml.in/yaml/v2"
)

var _ Importer = &ChatterboxImporter{}

// ChatterboxImporter recognises Resemble AI's Chatterbox TTS. Detection
// uses the `ResembleAI` owner or a "chatterbox" substring in the repo
// name (covers the primary release plus community finetunes).
// preferences.backend="chatterbox" overrides detection.
type ChatterboxImporter struct{}

func (i *ChatterboxImporter) Name() string      { ret

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key