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 Aug 9, 2023
1 parent a4b1c7d commit 8221054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bardapi/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def ask_about_image(self, input_text: str, image: bytes, lang: str = None) -> di
content, target_language=us_lang
)
except Exception as e:
print(f'Translation failed, and the original text has been returned. \n{e}')
print(f"Translation failed, and the original text has been returned. \n{e}")
translated_content = content

# Returned dictionary object
Expand Down
2 changes: 1 addition & 1 deletion bardapi/core_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ async def ask_about_image(
content, target_language=us_lang
)
except Exception as e:
print(f'Translation failed, and the original text has been returned. \n{e}')
print(f"Translation failed, and the original text has been returned. \n{e}")
translated_content = content

# Returnd dictionary object
Expand Down

0 comments on commit 8221054

Please sign in to comment.