replicate / paint-by-text

A microsite for InstructPix2Pix
https://paintbytext.chat
MIT License
426 stars 95 forks source link

set custom user agent #17

Closed zeke closed 1 year ago

zeke commented 1 year ago

This will give us a way to identify when users have cloned/forked this project, vs them just building their own thing from scratch that uses fetch.

{
  headers: {
    Authorization: 'Token XXX',
    'Content-Type': 'application/json',
    'User-Agent': 'paint-by-text/1.0.0'
  }
}

Thanks @bfirsh for pointing this out.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
paint-by-text ✅ Ready (Inspect) Visit Preview Feb 1, 2023 at 9:05PM (UTC)