misyaguziya
7b1e9136ee
[Update] Transliterator: Enhance transliteration control and improve tokenizer initialization
2025-10-04 22:25:55 +09:00
misyaguziya
fe3fea34ff
[Cleanup] Transliterator: Remove debug print statement from analyze method
2025-10-02 22:58:13 +09:00
misyaguziya
e32e5c1b5f
[Update] Transliterator: Change tokenizer mode to SplitMode.C and enhance analyze method for better reading assignment
2025-09-29 10:15:03 +09:00
Sakamoto Shiina
e7cd872fcc
Merge branch 'bugfix_compute_type' into develop
2025-09-28 02:10:23 +09:00
misyaguziya
46584a0e3e
Merge branch 'bugfix_overlay' into develop
2025-09-19 22:50:10 +09:00
misyaguziya
c171588ba9
[bugfix] Chat機能より改行を含む文章を送信した場合に、マルチラインのoverlayの表示に失敗する問題を修正
2025-09-19 22:49:48 +09:00
misyaguziya
4617954928
[Add] Implement Transliterator class and katakana to Hepburn conversion function
2025-09-17 14:09:36 +09:00
misyaguziya
fad01f6f90
[Change] ファイル名を変更
2025-09-17 11:26:44 +09:00
misyaguziya
245855d0ca
[Update] Add compute type management for CTranslate2 and Whisper models
2025-09-17 10:35:34 +09:00
misyaguziya
224eaf3cef
[Add] translation_gemini: Integrate Gemini translation model and authentication; [Update] controller: Implement methods for managing Gemini models and auth keys; [Update] mainloop: Add routes for Gemini model and auth key management; [Update] translation: Enhance Translator class for Gemini API support; [Update] translation_languages: Add Gemini language mappings
2025-09-15 17:42:09 +09:00
misyaguziya
d3c206fb26
[Add] Implement Transliterator class for kanji and okurigana analysis; update requirements and spec files
2025-09-15 05:33:30 +09:00
misyaguziya
0d121ecaad
[Update] Enhance kanji and okurigana processing in Transliterator class
2025-09-15 05:22:57 +09:00
misyaguziya
2efedfb572
[Add] Implement transliterator and katakana to Hepburn conversion functions
2025-09-15 05:00:24 +09:00
misyaguziya
e3555d204e
[Update] requirements: Add langchain-google-genai to dependencies; [Add] translation_gemini: Implement GeminiClient for translation functionality
2025-09-12 14:40:35 +09:00
misyaguziya
4e53584cff
[Update] mainloop: Improve receiver loop to handle empty input and add stop message
...
[Update] osc: Refactor OSC query service initialization to run in a separate thread
2025-09-11 23:11:39 +09:00
misyaguziya
bc269bc1fb
[Update] translation: Integrate Plamo API support with model selection and authentication features
2025-09-11 14:15:26 +09:00
misyaguziya
f5ebcd7bd8
[Update] translation: Add Plamo API support with authentication and translation functionality
2025-09-10 17:52:42 +09:00
misyaguziya
83a61e2e87
[Update] translation: Add support for new translation models and improve weight handling
2025-09-08 16:27:47 +09:00
misyaguziya
6fb7ecbc52
[Update] translation_utils.py: Refactor weight handling and improve error logging
...
add translate model
- jncraton/m2m100_418M-ct2-int8
- jncraton/m2m100_1.2B-ct2-int8
- OpenNMT/nllb-200-3.3B-ct2-int8
- OpenNMT/nllb-200-distilled-1.3B-ct2-int8
2025-09-07 23:59:20 +09:00
google-labs-jules[bot]
172617a523
Fix: Enhance logging for OSError and prevent AttributeError
...
This commit addresses two potential issues related to issue #50 :
1. Enhanced `OSError` Logging in `utils.py`:
The `printResponse` function in `src-python/utils.py` has been modified
to include more robust error handling around the `json.dumps()` call.
If an `OSError` (such as `[Errno 22] Invalid argument`) occurs during
JSON serialization, the function will now:
- Log the full traceback of the OSError.
- Log the specific problematic response dictionary that caused the error.
- Print a fallback JSON error message to stdout.
This change aims to help diagnose the root cause of the `OSError`
reported by you by capturing the exact data that triggers it.
2. Prevent `AttributeError` for `.close()` calls:
Added checks in `src-python/models/osc/osc.py` and
`src-python/models/websocket/websocket_server.py` to ensure that
objects are not `None` before their `.close()` or `.cancel()` methods
are called. This specifically addresses:
- `self.browser.zc.close()` and `self.browser.browser.cancel()` in `osc.py`.
- `self._loop.close()` in `websocket_server.py`.
These changes prevent potential `AttributeError: 'NoneType' object
has no attribute 'close'` errors if these objects are not fully
initialized before cleanup.
2025-06-18 14:47:17 +00:00
misyaguziya
c12f51f802
[bugfix] remove print root path
2025-06-16 18:59:37 +09:00
misyaguziya
e25cd62891
[Refactor] Improve overlay image creation logic for small logs and translations
2025-06-16 11:29:54 +09:00
misyaguziya
ab5c6b7bb5
[Refactor] Improve overlay image creation logic for large logs and translations
2025-06-16 06:45:13 +09:00
misyaguziya
acae7644eb
[bugfix] ttfファイルのバスを修正
2025-06-15 15:54:41 +09:00
misyaguziya
dfc90508d1
[Fix] Controller: Handle VRAM overflow errors during translation and transcription processes.
2025-06-02 15:07:33 +09:00
misyaguziya
bdaccdf421
[Update] OSC: Improve error handling and refactor OSC server initialization
2025-05-25 22:15:53 +09:00
misyaguziya
23fc46bd0f
[Update] OSC: Refactor OSC query handling and add enable/disable methods
2025-05-25 15:42:33 +09:00
misyaguziya
279fc1f66d
[Update] OSCHandler: Enhance OSC query handling and refactor mute status management
2025-05-24 21:51:11 +09:00
misyaguziya
f0f0dd5ea5
Merge branch 'websocket' into develop
2025-05-18 15:24:35 +09:00
misyaguziya
e7304247c7
[Update] WebSocket configuration: Change host to 127.0.0.1 and port to 2231; refactor WebSocket server initialization and message handling
2025-05-18 15:20:27 +09:00
misyaguziya
ed5ebcee90
[Update] WebSocket server: Refactor threading and message handling
2025-05-18 13:16:52 +09:00
misyaguziya
d940097e44
👍 ️[Update] Model : WebSocket module
2025-05-17 09:30:17 +09:00
misyaguziya
a619cd6114
[update] Upgrade deepl package version to 1.22.0 and refactor translation code to use DeepLClient
2025-05-15 12:38:54 +09:00
misyaguziya
fac33e06ba
[Add] websocket server
2025-05-15 11:46:13 +09:00
misyaguziya
2e424fcc2a
[Update] Optimize OSCQueryBrowser usage and reduce CPU load in OSC server
2025-05-05 17:06:23 +09:00
misyaguziya
4da99ab4d4
[Update] transcription_whisper.py: Add new Whisper model entries for large-v3-turbo and large-v3-turbo-int8.
2025-03-21 09:06:01 +09:00
misyaguziya
6fe403315a
🐛 [bugfix] model : overlay 200回表示後のリセット処理でエラーが発生した場合のみエラーログを保存するように修正
2025-02-18 15:33:45 +09:00
misyaguziya
1ca14ca33e
🐛 [bugfix] model : overlay動作時にoverlay表示デバイスが存在しない場合にエラーが発生する問題を修正
...
デバイスの存在チェックを追加
2025-02-18 15:30:48 +09:00
misyaguziya
bdf67ab7c8
🐛 [bugfix] offline時の処理を修正
2025-02-12 13:48:16 +09:00
Sakamoto Shiina
945b2a83a8
Merge branch 'bugfix_translate' into develop
2025-02-10 03:11:25 +09:00
Sakamoto Shiina
3228f0bb50
[bugfix] Overlay: Fix the error 'TypeError:’float’ object cannot be interpreted as an integer'
...
改行が必要なくらいの長さのテキストを表示しようとするときに出るエラー。計算時、int型に強制変換して修正。
2025-02-10 03:06:14 +09:00
misyaguziya
78d79f4a54
🐛 [bugfix] controller: offline時の処理を追加
2025-02-06 18:29:07 +09:00
misyaguziya
567907fc4d
🐛 [bugfix] Model : Added the ability to automatically select calculation types from GPU devices
2025-01-02 08:32:35 +09:00
misyaguziya
b545abce44
🐛 [bugfix] Model : resultを取得する際にエラーが出る問題を修正
2024-12-21 17:34:10 +09:00
misyaguziya
309869c494
🐛 [bugfix] Model : 非対応言語の場合に文字起こし失敗の例外処理をパスするように修正
2024-12-19 15:19:38 +09:00
misyaguziya
4d2fd379a8
👍 ️[Update] Model : 複数言語選択時に複数の音声に対して文字起こしを行う機能を追加
2024-12-19 13:44:52 +09:00
misyaguziya
a1b9aed8a9
🐛 [bugfix] Model : overlayのリスタート処理を修正
2024-12-17 23:44:44 +09:00
misyaguziya
3fa819df3f
👍 ️[Update] All : 不要なprintLogを削除 / なるべくtry exceptした場合にはerrorLogを保存するように変更
2024-12-16 23:38:05 +09:00
misygauziya
030b8a9f01
👍 ️[Update] Main : error logのトレースバックの処理を集約
2024-12-16 14:22:49 +09:00
misyaguziya
43b481c185
🐛 [bugfix] Model : 起動処理/終了処理を修正 未起動でのパラメータ変更時のエラーを修正
2024-12-13 17:32:32 +09:00