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