File size: 2,210 Bytes
8af09b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
"""Signpost for the merged Space.

Kimodo's models and native runtime moved to Luminia/Kimodo-cpp_momask-codes, so
this app holds no weights and starts instantly. Links carry target="_blank"
because a Space renders inside a sandboxed iframe and huggingface.co refuses to
load in a frame, so a same-frame click dies on X-Frame-Options.
"""

import gradio as gr

NEW = "https://huggingface.co/spaces/Luminia/Kimodo-cpp_momask-codes"

NOTICE = f"""
<div style="max-width:34rem;margin:0 auto;padding:8px 0;">
  <p style="font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;
            opacity:.6;margin:0 0 .4rem;">This Space has moved</p>
  <h1 style="font-size:1.5rem;line-height:1.25;margin:0 0 .6rem;">
    Kimodo cpp now lives with MoMask</h1>
  <p style="opacity:.75;margin:0 0 1rem;">
    Kimodo text to motion has been merged into a single Space alongside MoMask.
    Both models are still on free CPU, one tab each, and nothing was removed.</p>
  <p style="margin:0 0 1.2rem;">
    <a href="{NEW}" target="_blank" rel="noopener"
       style="display:inline-block;padding:.65rem 1rem;background:#c2185b;
              color:#fff;text-decoration:none;border-radius:6px;font-weight:600;">
      Open Luminia/Kimodo-cpp_momask-codes</a></p>
  <ul style="opacity:.75;padding-left:1.1rem;margin:0;line-height:1.7;">
    <li>Kimodo is the <b>Kimodo (GGML)</b> tab, unchanged. Same four checkpoints,
        same SOMA and Unitree G1 rigs.</li>
    <li>MoMask is the second tab, roughly ten times cheaper per prompt.</li>
    <li>The API endpoint is still <code>/generate</code>, on the new Space.
        MoMask answers at <code>/momask_generate</code>.</li>
    <li>The MCP server moved with it, to <code>/gradio_api/mcp/sse</code>.</li>
  </ul>
</div>
"""

CSS = """
footer{display:none}
.gradio-container{padding:8px !important}
:where(a):focus-visible{outline:2px solid #c2185b !important;outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{
  animation-duration:.01ms !important;transition-duration:.01ms !important}}
"""

with gr.Blocks(title="Kimodo cpp has moved", fill_width=True) as demo:
    gr.HTML(NOTICE)

if __name__ == "__main__":
    demo.launch(css=CSS)