Skip to content

https://hf.co/hexgrad/Kokoro-82M

Python
167 B
Raw Blame
export async function detectWebGPU() {
  try {
    const adapter = await navigator.gpu.requestAdapter();
    return !!adapter;
  } catch (e) {
    return false;
  }
}