Question
May I ask how to set the HF_TOKEN on the browser side?

The following is my code:
const model = await AutoModel.from_pretrained("briaai/RMBG-2.0", {
  config: {
    model_type: "custom", 
  },
  headers: {
    'Authorization': `Bearer hf_xxxxxxxxxxxxxxx`
  }
});