File size: 512 Bytes
5dcd53e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""
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
}