Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download ui.py from ai-coustics/VoiceFocus: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/ai-coustics/VoiceFocus/resolve/0a77e8e90695c7eb99d272461aec14c057c9b08a/ui.py
- Command line
-
hf download hf://spaces/ai-coustics/VoiceFocus@0a77e8e90695c7eb99d272461aec14c057c9b08a/ui.py
-
curl -L -o ui.py https://huggingface.co/spaces/ai-coustics/VoiceFocus/resolve/0a77e8e90695c7eb99d272461aec14c057c9b08a/ui.py
1.09 kB
| ACTIVE_LIGHT_GRAY = ( | |
| '<div class="active-light active-light--off" title="Warming up" style="display:flex;justify-content:center;align-items:center;width:100%;height:100%;min-height:3rem;">' | |
| '<span class="active-light__label">Warming up...</span></div>' | |
| ) | |
| ACTIVE_LIGHT_RED = ( | |
| '<div class="active-light active-light--on" title="Ready" style="display:flex;justify-content:center;align-items:center;width:100%;height:100%;min-height:3rem;">' | |
| '<span class="active-light__label">Ready!</span></div>' | |
| ) | |
| VAD_ON_HTML = """ | |
| <div style="display:flex; align-items:center; gap:10px;"> | |
| <div style=" | |
| width:25px; | |
| height:25px; | |
| border-radius:9999px; | |
| background:#22c55e; | |
| box-shadow:0 0 16px rgba(34,197,94,0.9); | |
| border:1px solid #666; | |
| "></div> | |
| </div> | |
| """ | |
| VAD_OFF_HTML = """ | |
| <div style="display:flex; align-items:center; gap:10px;"> | |
| <div style=" | |
| width:25px; | |
| height:25px; | |
| border-radius:9999px; | |
| background:#3f3f46; | |
| box-shadow:none; | |
| border:1px solid #666; | |
| "></div> | |
| </div> | |
| """ | |