Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

4.3 KB
Raw Blame
<!doctype html>
<html lang="{{ html_language }}">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{{ title }}</title>
  <meta name="description" content="{{ description }}">
  <meta name="theme-color" content="#ffffff">
  <link rel="canonical" href="{{ canonical }}">
  <link rel="alternate" hreflang="{{ 'en' if language == 'zh' else 'zh-CN' }}" href="{{ peer_canonical }}">
  <link rel="alternate" hreflang="{{ 'zh-CN' if language == 'zh' else 'en' }}" href="{{ canonical }}">
  <meta property="og:type" content="website">
  <meta property="og:title" content="{{ title }}">
  <meta property="og:description" content="{{ description }}">
  <meta property="og:url" content="{{ canonical }}">
  <link rel="stylesheet" href="{{ assets['css/site.css'] }}">
  <link rel="stylesheet" href="{{ assets['css/experience.css'] }}">
  {% block structured_data %}<script type="application/ld+json">{{ {
    '@context': 'https://schema.org',
    '@type': 'SoftwareApplication',
    'name': 'FunASR',
    'applicationCategory': 'DeveloperApplication',
    'operatingSystem': 'Linux, macOS, Windows',
    'url': canonical,
    'dateModified': date_modified,
    'codeRepository': github_repository_url,
    'license': 'https://github.com/modelscope/FunASR/blob/main/LICENSE'
  } | tojson }}</script>{% endblock %}
  {% block extra_head %}{% endblock %}
</head>
<body data-language="{{ language }}" data-route="{{ route }}" data-copy-icon="{{ assets['lucide/copy.svg'] }}">
  <a class="skip-link" href="#main">{{ '跳到主要内容' if language == 'zh' else 'Skip to main content' }}</a>
  <header class="site-header">
    <a class="brand" href="{{ '/' if language == 'zh' else '/en/' }}" aria-label="FunASR {{ '首页' if language == 'zh' else 'home' }}">
      <span class="brand-mark" aria-hidden="true">F</span>
      <span>FunASR</span>
    </a>
    <button class="icon-button menu-button" type="button" data-menu-toggle aria-expanded="false" aria-controls="primary-navigation" title="{{ '打开目录' if language == 'zh' else 'Open navigation' }}">
      <img src="{{ assets['lucide/menu.svg'] }}" alt="">
    </button>
    <nav id="primary-navigation" class="primary-navigation" data-primary-nav aria-label="{{ '主目录' if language == 'zh' else 'Primary navigation' }}">
      {% for item in navigation %}
      <a href="{{ item.href }}"{% if route == item.href or (item.id == 'deploy' and '/deploy/' in route) or (item.id == 'benchmarks' and 'benchmarks.html' in route) %} aria-current="page"{% endif %}>{{ item.label }}</a>
      {% endfor %}
    </nav>
    <div class="header-actions">
      <a class="icon-link" href="{{ peer_route }}" title="{{ 'English' if language == 'zh' else '简体中文' }}">
        <img src="{{ assets['lucide/languages.svg'] }}" alt="">
        <span>{{ 'EN' if language == 'zh' else '中文' }}</span>
      </a>
      <a class="icon-button" href="{{ github_url }}" title="GitHub" aria-label="GitHub">
        <img src="{{ assets['lucide/github.svg'] }}" alt="">
      </a>
    </div>
  </header>
  <main id="main">
    {% block content %}{% endblock %}
  </main>
  <footer class="site-footer">
    <div>
      <strong>FunASR</strong>
      <p>{{ '面向生产部署的开源语音基础设施。' if language == 'zh' else 'Open speech infrastructure for production deployment.' }}</p>
    </div>
    <nav class="footer-repositories" data-footer-repositories aria-label="{{ '官方仓库' if language == 'zh' else 'Official repositories' }}">
      <strong>{{ '官方仓库' if language == 'zh' else 'Official repositories' }}</strong>
      <div class="footer-links">
        <a href="/go/fun-asr">Fun-ASR</a>
        <a href="/go/sensevoice">SenseVoice</a>
        <a href="/go/funclip">FunClip</a>
      </div>
    </nav>
    <div class="footer-links">
      <a href="{{ '/deploy/' if language == 'zh' else '/en/deploy/' }}">{{ '部署' if language == 'zh' else 'Deploy' }}</a>
      <a href="{{ docs_url }}">{{ '文档' if language == 'zh' else 'Docs' }}</a>
      <a href="{{ releases_url }}">{{ '发布' if language == 'zh' else 'Releases' }}</a>
      <a href="{{ '/donors.html' if language == 'zh' else '/en/donors.html' }}">{{ '功德榜' if language == 'zh' else 'Donors' }}</a>
    </div>
  </footer>
  <script src="{{ assets['js/site.js'] }}" defer></script>
  <script src="{{ assets['js/experience.js'] }}" defer></script>
</body>
</html>