 const ttsVoiceDefault = computed(() => ttsVoices.value.find(v => v.default));
      if (tts) {
        tts.onvoiceschanged = () => {
          ttsVoices.value = tts.getVoices();
        }
      }

      const submit = (e) => {
        stop(e);
        chat(message.value);
        message.value = "";
      }

      const enterSubmits = (event) => {
        if (event.which === 13 && !event.shiftKey) {
          submit(event);
        }
      }

      return html`
        <form onsubmit=${