From 8221054e4ac0a12f384ce5c4c4cc490ca30a0d3f Mon Sep 17 00:00:00 2001 From: parkminwoo Date: Wed, 9 Aug 2023 10:38:14 +0900 Subject: [PATCH] chore: style black --- bardapi/core.py | 2 +- bardapi/core_async.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bardapi/core.py b/bardapi/core.py index c662cbdc1..106624592 100644 --- a/bardapi/core.py +++ b/bardapi/core.py @@ -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 diff --git a/bardapi/core_async.py b/bardapi/core_async.py index c4d2df280..6041e2163 100644 --- a/bardapi/core_async.py +++ b/bardapi/core_async.py @@ -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