ilhamdev commited on
Commit
0936ac8
·
verified ·
1 Parent(s): ea98ff4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -40,7 +40,7 @@ async function bimg(query) {
40
  }
41
  async function bingChat(query) {
42
  const api = new BingChat({
43
- cookie: process.env.BING_IMAGE_COOKIE
44
  })
45
  const res = await api.sendMessage(text, { variant: 'Precise' })
46
  return res?.text
 
40
  }
41
  async function bingChat(query) {
42
  const api = new BingChat({
43
+ cookie: process.env.BING_IMAGE_COOKIE || "1hPKd66tX-wvyQtYG5F-UIzIYgcsNB1rgZ5jAGGDCu30pMnoh-X8tHkZ92BNUmQ_MlPKKMrERVXwPqf4XhUZRTjrfOrrAxH4CCqoJfdfDptUXPJXJOQ7duuJEy-2C4uSabwUjuvkRIlifbB-3WEa4Y4dTpcNm9dVnkT14Lawhf4ceGJax0IXF5gbgnlhtLZdUJ08WyGQSnllQVNc-IzsVbQ"
44
  })
45
  const res = await api.sendMessage(text, { variant: 'Precise' })
46
  return res?.text