n main() {
      setCmplDisable(true);
      setEmbdDisable(true);
      const getName = (url) => url.match(/\/resolve\/main(.*)/)[1];
      elemCmplModel.textContent = `${getName(CMPL_MODEL)}, size: ${CMPL_MODEL_SIZE}`;
      elemEmbdModel.textContent = `${getName(EMBD_MODEL)}, size: ${EMBD_MODEL_SIZE}`;
      elemBtnStartCmpl.onclick = async () => {
        elemBtnStartCmpl.disabled = true;
        elemBtnPickFile.disabled = true;
        await startCompletions(CMPL_MODEL);
      };
      elemBtnPickFile.