Skip to main content
Glama
base.py666 B
"""Base Pydantic models for MCP Server Whisper.""" from pathlib import Path from typing import Optional from pydantic import BaseModel, Field class BaseInputPath(BaseModel): """Base file path input.""" input_file_path: Path = Field(description="Path to the input audio file to process") model_config = {"arbitrary_types_allowed": True} class BaseAudioInputParams(BaseInputPath): """Base params for audio operations.""" output_file_path: Optional[Path] = Field( default=None, description="Optional custom path for the output file. " "If not provided, defaults to input_file_path with appropriate extension", )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arcaputo3/mcp-server-whisper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server