Skip to content

Releases: MaKTaiL/gemini-srt-translator

v1.3.4

24 Feb 18:45
Compare
Choose a tag to compare

Patch Notes:

  • FIX: Added new required library for fixing json format errors returned from Gemini and prevent unintended progress failures
    • json-repair == 0.39.1

Full Changelog: v1.3.3...v1.3.4

v1.3.3

17 Feb 19:56
Compare
Choose a tag to compare

Patch Notes:

  • FIX: Prevent Gemini from hallucinating and merging dialogs when it shouldn't:
    • Changed request temperature to 0
    • Improved system instruction
  • FIX: Removed final delay after all dialogs have already been translated when using Pro versions
  • Bump google-generativeai version to 0.8.4

Full Changelog: v1.3.2...v1.3.3

v1.3.2

06 Feb 17:26
Compare
Choose a tag to compare

Patch Notes:

  • Changed default model to the newly released Gemini 2.0 Flash

Full Changelog: v1.3.1...v1.3.2

v1.3.1

20 Jan 13:55
Compare
Choose a tag to compare

Patch Notes:

  • Small but important fix for handling non-English input (thanks @sjiampojamarn)

Full Changelog: v1.3.0...v1.3.1

v1.3.0

29 Oct 17:58
162ec65
Compare
Choose a tag to compare

Patch Notes:

  • NEW: Added support for second API key for additional quota (thanks @CevreMuhendisi)
    • Automatically switches to the second API when the first API reaches its quota limit
  • Better error handling
  • Decreased wait time betweeen requests for Pro models when free quota and a second API key are detected

Full Changelog: v1.2.6...v1.3.0

v1.2.6

25 Oct 19:11
Compare
Choose a tag to compare

Patch Notes:

  • Removed leftover print message call
  • Proper handle of Gemini blocked requests

Full Changelog: v1.2.5...v1.2.6

v1.2.5

25 Oct 18:50
Compare
Choose a tag to compare

Patch Notes:

  • NEW: Added two new optional variables:

    • description: Additional description for the translation job
    • free_quota: Variable to indicate if you are using free quota limits or not (Defaults to True)
  • Fix for hitting free quota too fast when using gemini-pro models

  • Better handling of context between requests

Full Changelog: v1.2.1...v1.2.5

v1.2.1

24 Oct 11:40
Compare
Choose a tag to compare

Patch Notes:

  • Fix a small breaking syntax error when applying right-to-left compatibility (Thanks to @CevreMuhendisi)

Full Changelog: v1.2.0...v1.2.1

v1.2.0

23 Oct 20:26
a8486e9
Compare
Choose a tag to compare

Patch Notes:

  • NEW: Added support for right-to-left languages in the subtitle translation process. (Thanks to @Theamoz)

  • Improved batch processing and error handling in subtitle translation logic.

    • Brought back the send_message function call that was replaced by generate_content on v1.1.4
    • Context will now be preserved between batches again
  • Added fallback to prevent infinite loop in case Gemini returns unexpected responses.

Full Changelog: v1.1.4...v1.2.0

v1.1.4

21 Oct 13:32
Compare
Choose a tag to compare

Patch Notes:

  • Changed Gemini function from start_chat to generate_content

    • Chat feature was being used for saving context from previous batch but that would occasionally cause issues with Gemini returning the wrong number of dialogs from input (Gemini is dumb sometimes)

    • generate_content is more reliable albeit at the cost of context saving between requests (dialogs that start in one batch and end in another might lose a bit of continuity).

  • Cleaned up code with modular calls to remove repetitiveness

Full Changelog: v1.1.3...v1.1.4