Spaces:
Running on Zero
Running on Zero
Download assets/desk.html from fffiloni/fastframes-voice: direct link, hf CLI and curl.
- Browser
- Download file 4.89 kB
-
https://huggingface.co/spaces/fffiloni/fastframes-voice/resolve/main/assets/desk.html
- Command line
-
hf download hf://spaces/fffiloni/fastframes-voice/assets/desk.html
-
curl -L -o desk.html https://huggingface.co/spaces/fffiloni/fastframes-voice/resolve/main/assets/desk.html
4.89 kB
| <section class="console" aria-label="Direction" data-aria-en="Direction" data-aria-fr="Consigne"> | |
| <div class="status-row" id="inference-status" data-state="idle"> | |
| <p class="stage-status" role="status" aria-live="polite" aria-atomic="true"><span id="status-dot" aria-hidden="true"></span><span id="stage-text">Microphone off</span></p> | |
| <span id="frame-count" hidden></span> | |
| <progress id="frame-progress" aria-label="Available preview frames" data-aria-en="Available preview frames" data-aria-fr="Images d’aperçu disponibles" hidden></progress> | |
| <button type="button" id="retry-cue" data-tr="retryCue" hidden>Retry</button> | |
| </div> | |
| <div class="console-body"> | |
| <div id="voice-control" class="control-cell"> | |
| <button class="mic-key" id="mic-key" data-mic-state="idle" aria-describedby="voice-hint"> | |
| <svg aria-hidden="true" viewBox="0 0 24 24"><rect x="9" y="2" width="6" height="12" rx="3"/><path d="M5 10v1a7 7 0 0 0 14 0v-1m-7 8v4m-4 0h8"/><path class="mic-slash" d="M3 3l18 18"/></svg><span id="mic-word">Start mic</span> | |
| </button> | |
| <canvas id="mic-level" width="88" height="32" aria-hidden="true"></canvas> | |
| <small id="voice-hint" data-tr="quietHint">Speak in a quiet place. Pause for 3 seconds to send.</small> | |
| <small id="voice-queued" role="status" data-tr="queuedVoice" hidden>Next direction queued.</small> | |
| <button type="button" id="dictate-next" data-tr="dictateNext" hidden>Dictate next direction</button> | |
| <div id="voice-draft-actions" role="group" aria-label="Paused direction" data-aria-en="Paused direction" data-aria-fr="Consigne en pause" hidden> | |
| <button type="button" id="send-voice" data-tr="sendVoice">Send</button> | |
| <button type="button" id="discard-voice" data-tr="discardVoice">Discard</button> | |
| </div> | |
| </div> | |
| <div class="readout"><span class="label" id="input-label">Direction</span><p id="heard-text">—</p></div> | |
| <div class="readout"><span class="label" data-tr="direction">Interpreted direction</span><p id="focus-text">—</p><small id="interpreter"></small></div> | |
| </div> | |
| </section> | |
| <div id="clip-notice" hidden><span id="clip-caption"></span><button type="button" id="back-to-shot" data-tr="backToShot">Back to monitor</button></div> | |
| <div id="text-control" hidden> | |
| <label class="label" for="cue-text" data-tr="textLabel">Written direction</label> | |
| <div class="composer"><textarea id="cue-text" rows="2" maxlength="1200"></textarea> | |
| <button type="button" id="send-text" disabled data-tr="send">Generate segment</button></div> | |
| </div> | |
| <div class="cue-choice" id="clarify-control" hidden> | |
| <span data-tr="clarify">Last segment or the next one?</span> | |
| <div><button type="button" id="answer-redo" data-tr="lastOne">Last segment</button><button type="button" id="answer-append" data-tr="nextOne">Next segment</button><button type="button" id="cancel-answer" data-tr="cancel">Cancel</button></div> | |
| </div> | |
| <div class="cue-choice" id="review-control" hidden> | |
| <div role="group" aria-label="Preview" data-aria-en="Preview" data-aria-fr="Aperçu"><button type="button" id="watch-original" data-tr="watchOriginal">Play original</button><button type="button" id="watch-variant" data-tr="watchVariant">Play variant</button></div> | |
| <div><button type="button" id="keep-original" data-tr="keepOriginal">Keep original</button><button type="button" id="use-variant" data-tr="useVariant">Use variant</button></div> | |
| </div> | |
| <div class="desk-rail"> | |
| <div role="group" aria-label="Direction input" data-aria-en="Direction input" data-aria-fr="Mode de saisie" class="input-switch"> | |
| <button type="button" id="mode-voice" aria-pressed="true" data-tr="voiceMode">Voice</button> | |
| <button type="button" id="mode-text" aria-pressed="false" data-tr="textMode">Text</button> | |
| </div> | |
| <div class="cue-tools"> | |
| <label id="redo-control"><input type="checkbox" id="redo-last" disabled><span data-tr="redoLabel">Redo last segment</span></label> | |
| <label class="duration" id="model-choice"><span data-tr="videoModel">Video model</span> | |
| <select id="video-model"><option value="S">FastFrames-S</option><option value="L">FastFrames-L · 14B</option></select> | |
| </label> | |
| <label class="duration" id="next-length"><span data-tr="duration">Next segment</span> | |
| <select id="cue-seconds" aria-describedby="stage-text"><option value="1">1 s</option><option value="2">2 s</option><option value="3">3 s</option><option value="4" selected>4 s</option><option value="5">5 s</option><option value="6">6 s</option><option value="7">7 s</option><option value="8">8 s</option></select> | |
| </label> | |
| <span id="fixed-length" class="duration" hidden></span> | |
| </div> | |
| </div> | |
| <section id="timeline" aria-labelledby="timeline-title" hidden> | |
| <header><h2 id="timeline-title" data-tr="timelineTitle">Timeline</h2><span id="timeline-length"></span></header> | |
| <div id="clip-list"></div> | |
| </section> | |