    <div class='section-link'>
                <a href='#section-0'>#</a>
            </div>
            <h1>CLIP 文本嵌入器</h1>
<p>这用于获取提示嵌入以实现<a href="../index.html">稳定的扩散</a>。它使用 HuggingFace 变形金刚 CLIP 模型。</p>

        </div>
        <div class='code'>
            <div class="highlight"><pre><span class="lineno">14</span><span></span><span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">List<