Jump to content

japri

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by japri


  1. Hi fellow delphi,

     

    i'm try to run bardapi via p4d. from this github https://github.com/dsdanielpark/Bard-API

     

    and try to run this example code.

    token = 'xxxxxxx'
    bard = Bard(token=token)
    bard.get_answer("나와 내 동년배들이 좋아하는 뉴진스에 대해서 알려줘")['content']

     

    when it run in command line it works correctly. but when i run it in the p4d it gives error. 

    site-packages\bardapi\core.py", line 154, in _get_snim0e
        raise Exception(
    Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'.

    //of course i have change the xxxx to the correct token. 

    anyone has any idea how to fix it?.... 

     

×