Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
format/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed Jul 20, 2023
1 parent 2182363 commit 1ad3f1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Parameters
```python
@classmethod
async def create(cls,
session_id: str,
secure_1psid: str,
secure_1psidts: str,
proxy: dict = None,
timeout: int = 20) -> "AsyncChatbot"
```
Expand Down
1 change: 1 addition & 0 deletions example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from os import environ

from Bard import Chatbot

Secure_1PSID = environ.get("BARD__Secure-1PSID")
Expand Down
2 changes: 1 addition & 1 deletion src/Bard.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ async def ask(self, message: str) -> dict:
Secure_1PSIDTS = os.getenv("BARD__Secure-1PSIDTS")
if not (Secure_1PSID and Secure_1PSIDTS):
print(
"BARD___Secure-1PSID or BARD__Secure-1PSIDTS environment variable not set."
"BARD___Secure-1PSID or BARD__Secure-1PSIDTS environment variable not set.",
)
sys.exit(1)
chatbot = Chatbot(Secure_1PSID, Secure_1PSIDTS)
Expand Down

0 comments on commit 1ad3f1d

Please sign in to comment.