MIAO HU
init version
5dcd53e
raw
history blame contribute delete
512 Bytes
"""
Configuration settings for the ASR (Automatic Speech Recognition) MCP Server.
"""
import os
# API Configuration
API_CONFIG = {
"base_url": os.getenv("API_BASE_URL", ""),
"endpoints": {
"transcribe": "/transcribe",
"transcribe_srt": "/transcribe/srt"
},
"timeout": 300.0,
"max_retries": None
}
# Server Configuration
SERVER_CONFIG = {
"host": "0.0.0.0",
"port": 7860,
}
# Export the configuration
CONFIG = {
"api": API_CONFIG,
"server": SERVER_CONFIG
}