diff --git a/llm_translator.py b/llm_translator.py index 3d8d1f3..a6fe5be 100644 --- a/llm_translator.py +++ b/llm_translator.py @@ -97,7 +97,6 @@ def _translate_gy_gemini(self, translation_task: TranslationTask): translation_task.translated_text = response.text except (ValueError, InternalServerError) as e: print(e) - print(response.candidates[0].finish_reason) return if self.history_size: self._append_history_message(user_content, translation_task.translated_text)