Download frontend/src/components/Progress.jsx from virtual-miku/miku-voice: direct link, hf CLI and curl.
- Browser
- Download file 483 Bytes
-
https://huggingface.co/virtual-miku/miku-voice/resolve/main/frontend/src/components/Progress.jsx
- Command line
-
hf download hf://virtual-miku/miku-voice/frontend/src/components/Progress.jsx
-
curl -L -o Progress.jsx https://huggingface.co/virtual-miku/miku-voice/resolve/main/frontend/src/components/Progress.jsx
483 Bytes
| // frontend/src/components/Progress.jsx | |
| export default function Progress({ status, jobId }) { | |
| return ( | |
| <div> | |
| <h2>Status</h2> | |
| <p>{status.state}</p> | |
| <progress value={status.progress} max="100" /> | |
| {status.state === "done" && ( | |
| <audio | |
| controls | |
| src={`http://localhost:3001/storage/creations/${jobId}/output.wav`} | |
| /> | |
| )} | |
| </div> | |
| ); | |
| } | |