Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
chore: style black
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark committed Jan 23, 2024
1 parent 5ca5d95 commit 02574f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions bardapi/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ def _get_session(

return new_session

def _get_token(
self, token: str, token_from_browser: bool
) -> str:
def _get_token(self, token: str, token_from_browser: bool) -> str:
"""
Get the Bard API token either from the provided token or from the browser cookie.
Expand Down Expand Up @@ -153,7 +151,6 @@ def _get_token(
"Bard API Key must be provided as the 'token' argument or extracted from the browser."
)


def start(self, prompt: Optional[str] = None) -> None:
"""
Starts the chatbot interaction.
Expand Down
2 changes: 1 addition & 1 deletion bardapi/core_async.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The asynchronous bard may not yield significant benefits and may not be perfectly implemented.
# The asynchronous bard may not yield significant benefits and may not be perfectly implemented.
# You can contribute a more optimized implementation anytime through a Pull Request.

import os
Expand Down

0 comments on commit 02574f7

Please sign in to comment.