Skip to content

Commit

Permalink
deepl and google translation batches are cleared now on webgui reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikatr7 committed May 27, 2024
1 parent df77361 commit 284784b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/common/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ def reset_static_variables() -> None:
Translator.error_text = []
Translator.openai_translation_batches = []
Translator.gemini_translation_batches = []
Translator.deepl_translation_batches = []
Translator.google_translate_translation_batches = []
Translator.num_occurred_malformed_batches = 0
Translator.translation_print_result = ""
Translator.TRANSLATION_METHOD = "deepl"
Expand Down

0 comments on commit 284784b

Please sign in to comment.