Spaces:
Running on Zero
Running on Zero
Download src/static/index.html from mavrii-dev/Moodline: direct link, hf CLI and curl.
- Browser
- Download file 3.51 kB
-
https://huggingface.co/spaces/mavrii-dev/Moodline/resolve/main/src/static/index.html
- Command line
-
hf download hf://spaces/mavrii-dev/Moodline/src/static/index.html
-
curl -L -o index.html https://huggingface.co/spaces/mavrii-dev/Moodline/resolve/main/src/static/index.html
3.51 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"> | |
| <title>Moodline — read the emotion in your words</title> | |
| <meta name="description" content="Type a sentence and watch a BiGRU model read the emotion inside it."> | |
| <meta name="color-scheme" content="light dark"> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500;1,9..144,600&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="/static/style.css"> | |
| </head> | |
| <body> | |
| <a class="skip-link" href="#main">Skip to main content</a> | |
| <div class="grain" aria-hidden="true"></div> | |
| <div class="app"> | |
| <header class="topbar" aria-label="Moodline status"> | |
| <div class="brand"> | |
| <span class="brand-mark" id="statusDot" aria-label="Server status indicator" title="checking server..."></span> | |
| <span class="brand-name">Moodline</span> | |
| </div> | |
| <p class="brand-tag">an instrument that reads the mood inside a sentence</p> | |
| </header> | |
| <main id="main" aria-label="Moodline analysis area"> | |
| <section class="console" id="console" aria-label="Input console"> | |
| <div class="orb-stage"> | |
| <div class="orb-glow"></div> | |
| <div class="orb" id="orb" aria-label="Analysis orb"> | |
| <span class="orb-emoji" id="orbEmoji">✎</span> | |
| </div> | |
| </div> | |
| <div class="input-panel"> | |
| <span class="eyebrow">INPUT</span> | |
| <textarea | |
| id="textInput" | |
| maxlength="2000" | |
| placeholder="Write a sentence and let it speak for itself— e.g. “I can't believe we actually pulled this off.”" | |
| aria-label="Your sentence for emotion analysis" | |
| aria-describedby="charCount" | |
| ></textarea> | |
| <div class="input-footer"> | |
| <span class="char-count"><span id="charCount">0</span> / 2000</span> | |
| <button id="analyzeBtn" class="btn-primary" disabled aria-label="Analyze emotion" aria-disabled="true"> | |
| <span class="btn-label">Read the mood</span> | |
| <span class="btn-arrow">→</span> | |
| </button> | |
| </div> | |
| <p class="error-msg" id="errorMsg" hidden role="alert"></p> | |
| </div> | |
| </section> | |
| <section class="result" id="resultSection" hidden aria-label="Emotion result"> | |
| <div class="reveal"> | |
| <span class="eyebrow">DETECTED</span> | |
| <div class="reveal-main"> | |
| <span class="reveal-emoji" id="emotionEmoji">😄</span> | |
| <h1 id="emotionWord">Joy</h1> | |
| </div> | |
| <span class="confidence-mono" id="confidenceText">92.4% confidence</span> | |
| <blockquote class="echoed-text" id="echoedText"></blockquote> | |
| </div> | |
| <div class="breakdown"> | |
| <span class="eyebrow">BREAKDOWN</span> | |
| <div class="bars" id="barsContainer"></div> | |
| </div> | |
| </section> | |
| </main> | |
| <footer class="footbar" aria-label="Footer"> | |
| <span id="serverStatusText">connecting to model…</span> | |
| <span class="footbar-hint">⌘ / Ctrl + Enter to analyze</span> | |
| </footer> | |
| </div> | |
| <script src="/static/script.js"></script> | |
| </body> | |
| </html> |