Spaces:
Running
Running
Download _source/src/components/PulseBars.jsx from shreyask/ace-step-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/spaces/shreyask/ace-step-webgpu/resolve/main/_source/src/components/PulseBars.jsx
- Command line
-
hf download hf://spaces/shreyask/ace-step-webgpu/_source/src/components/PulseBars.jsx
-
curl -L -o PulseBars.jsx https://huggingface.co/spaces/shreyask/ace-step-webgpu/resolve/main/_source/src/components/PulseBars.jsx
523 Bytes
| // Animated placeholder — shown while generating. Matches ace-step-jam fake-waveform. | |
| export default function PulseBars({ count = 60 }) { | |
| return ( | |
| <div className="flex items-end gap-[2px] h-14 w-full select-none"> | |
| {Array.from({ length: count }).map((_, i) => ( | |
| <div | |
| key={i} | |
| className="flex-1 rounded-[2px] pulse-bar" | |
| style={{ | |
| background: "var(--accent)", | |
| animationDelay: `${(i * 40) % 1200}ms`, | |
| }} | |
| /> | |
| ))} | |
| </div> | |
| ); | |
| } | |