misyaguziya
ba13443d1c
config.pyのリファクタリングを実施し、外部モジュールのインポートをガードして安全性を向上。初期化時のエラーハンドリングを強化し、デフォルト値の取得を安全に行えるように修正。関連ドキュメントを新規作成し、変更点と利用上の注意を明示化。
2025-10-09 19:27:55 +09:00
misyaguziya
61cbe07f0f
デバイス管理モジュールのインポートをガードし、Windows固有の依存関係をオプショナルに変更。クラスの初期化メソッドを修正し、デフォルトデバイス変更時のコールバックを追加。ドキュメントを新規作成し、使用例や注意点を明示化。エラーハンドリングを強化し、コードの可読性を向上。
2025-10-09 19:04:31 +09:00
misyaguziya
eca5e31429
torchとctranslate2のインポートをガードし、安全なデフォルトを提供。型注釈とdocstringを追加して可読性を向上。ログ設定の重複ハンドラ追加を防ぐチェックを導入。encodeBase64はデコード失敗時に空辞書を返すように変更。getComputeDeviceListはGPU情報取得失敗時にCPU情報を返すように例外保護を追加。
2025-10-09 18:53:42 +09:00
misyaguziya
35e8d7dda9
スレッドセーフなトークナイザーアクセスのためにロックを追加。トークナイザーの呼び出し時に発生する可能性のあるRuntimeErrorを防ぐために、アクセスを直列化。
2025-10-09 18:43:12 +09:00
misyaguziya
944577eaf4
OSCモジュールのドキュメントを更新し、使用例や注意点を追加。型注釈を強化し、エラーハンドリングを改善。OSCHandlerクラスの初期化メソッドを修正し、サービスのアドバタイズ中の例外処理を追加。テストファイルを新規作成し、OSCモジュールのインポートテストを追加。
2025-10-09 17:39:52 +09:00
misyaguziya
690a2f081b
ドキュメントを更新し、型注釈を追加してコードの可読性とメンテナンス性を向上。各モジュールの使用例や依存関係を明示化し、エラーハンドリングを改善。
2025-10-09 17:35:55 +09:00
misyaguziya
b26129af68
翻訳モジュールのドキュメントを更新し、セットアップ手順やAPI使用例を追加。型注釈を強化し、関数の戻り値を明示化。エラーハンドリングを改善し、コードの可読性を向上。
2025-10-09 17:30:48 +09:00
misyaguziya
7d24b3839c
型注釈を追加し、関数の戻り値を明示化。コードの可読性と型安全性を向上。
2025-10-09 17:07:21 +09:00
misyaguziya
7255722b67
ウォッチドッグのドキュメントを更新し、使用例を追加。型注釈とエラーハンドリングの改善を反映。
2025-10-09 17:01:31 +09:00
misyaguziya
569d8e3f76
[ref] overlayのリファクタリングとテストを追加
2025-10-09 16:43:41 +09:00
misyaguziya
c1cf78cda4
[改善] 型注釈の追加とドキュメントの更新
...
- config.py, controller.py, model.py, mainloop.py, utils.py での型注釈の追加
- CODING_RULES.md と api.md のドキュメントを更新
- 不要なコードの削除とリファクタリング
2025-10-09 13:34:05 +09:00
misyaguziya
e67242a0c4
[新規追加] ドキュメントのエンドポイントとマッピングの検証スクリプトを追加
2025-10-09 13:15:01 +09:00
misyaguziya
5efa9c37d6
Add documentation for modules and runtime instructions
...
- Created detailed documentation for the device_manager, model, model_extra, osc, overlay, overlay_image, transcription, translation, transliteration, utils, watchdog, and websocket modules.
- Added a comprehensive run events payloads document outlining the payloads sent during various run events in the controller.
- Included runtime instructions and dependencies for setting up the project in a Windows environment.
- Introduced a mypy configuration file to manage type checking and ignore errors in specific modules temporarily.
2025-10-09 13:11:59 +09:00
Sakamoto Shiina
b0fd63afbd
Merge branch 'version' into develop
2025-10-09 09:24:14 +09:00
Sakamoto Shiina
28e952ada3
👍 ️[Update] Version 3.2.2 -> 3.3.0
2025-10-09 09:23:05 +09:00
Sakamoto Shiina
1a7c0b1e1d
Merge branch 'ui' into develop
2025-10-08 16:30:11 +09:00
Sakamoto Shiina
faec6e91ba
[bugfix] UI: Fix the bug that the main functions ware not in loading status even while restoring the status 'enable'.
2025-10-08 16:25:15 +09:00
misyaguziya
b23b40d8e4
Merge branch 'bugfix_error_message' into develop
2025-10-08 13:01:57 +09:00
misyaguziya
78a580f521
OSCQueryの名前解決のためservice名をユニークに変更
...
service_nameを "VRCT" -> f"VRCT:{UTC}"
2025-10-08 13:01:16 +09:00
misyaguziya
6c655b6043
[Update] OverlayImage: Improve font loading logic with error handling for font file paths
2025-10-07 19:01:55 +09:00
misyaguziya
2d6beef2ed
Merge branch 'bugfix_translate_lang' into develop
2025-10-07 13:34:50 +09:00
misyaguziya
a167e57ff0
[Update] Test: Add translation tests for all language pairs and log results
...
[Update] remove unsupported langs
2025-10-07 13:33:04 +09:00
misyaguziya
cfd674bc5c
Merge branch 'test' into change_translation_process
2025-10-06 16:44:33 +09:00
misyaguziya
4572aee2b7
[Update] Controller and Model: Refactor translation device management and add parameter change tracking
2025-10-06 16:40:05 +09:00
misyaguziya
e2d401b848
実装漏れを修正
2025-10-06 14:30:35 +09:00
Sakamoto Shiina
b632d66225
[Update] UI: Add disable translation function when config page has opened.
2025-10-06 14:30:24 +09:00
misyaguziya
c7bae73363
Merge branch 'bugfix_auto_device_select' into develop
2025-10-05 21:16:18 +09:00
misyaguziya
4b0c7e9775
[Update] Controller and DeviceManager: Refactor device management methods for mic and speaker separation
2025-10-05 21:15:44 +09:00
misyaguziya
eb08ed6ff6
Merge branch 'transliteration' into develop
2025-10-05 17:15:47 +09:00
misyaguziya
ca07aef201
[Update] Translator: Add check to return original message if source and target languages are the same
2025-10-05 17:15:25 +09:00
misyaguziya
3ee7246224
[Feature] Transliterator: Implement contextual transliteration rules and integrate with analysis method
2025-10-05 16:18:58 +09:00
misyaguziya
7b1e9136ee
[Update] Transliterator: Enhance transliteration control and improve tokenizer initialization
2025-10-04 22:25:55 +09:00
Sakamoto Shiina
3d674c64db
Merge branch 'ui' into develop
2025-10-03 01:11:31 +09:00
Sakamoto Shiina
741cfed8c3
[Update/Chore] Localizations: Add texts to Romaji/Hiragana settings and adjust all locales languages.
2025-10-03 01:10:03 +09:00
misyaguziya
df1ac3aaa0
Merge branch 'transliteration' into develop
2025-10-02 23:19:19 +09:00
misyaguziya
c1011c4520
Merge branch 'bugfix_auto_device_select' into develop
2025-10-02 23:18:58 +09:00
misyaguziya
4b55a9bca2
[Fix] Controller: Remove redundant assignments in auto mic/speaker select methods
2025-10-02 23:05:06 +09:00
misyaguziya
fe3fea34ff
[Cleanup] Transliterator: Remove debug print statement from analyze method
2025-10-02 22:58:13 +09:00
Sakamoto Shiina
957cddfe18
[bugfix] UI: Transliteration: Fix the bug that isn't shown when only hiragana or only hepburn is provided.
2025-09-30 05:03:08 +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
misyaguziya
c5a5fc62f7
Merge branch 'add_test_case' into develop
2025-09-28 06:58:13 +09:00
misyaguziya
cde8b4b806
selected_translation_compute_type/selected_transcription_compute_typeのテストケースを追加
2025-09-28 06:57:58 +09:00
Sakamoto Shiina
e7cd872fcc
Merge branch 'bugfix_compute_type' into develop
2025-09-28 02:10:23 +09:00
Sakamoto Shiina
9a11c6ff9f
[Update] Config Page: Compute Device/Type: Add localization and make compute types order properly.
2025-09-28 02:07:47 +09:00
Sakamoto Shiina
e9067c05c6
[Update/Chore] UI: Compute Type: Rename and add endpoint '/run/'.
2025-09-27 07:55:45 +09:00
misyaguziya
6effedcce2
[Update] Refactor compute type management: rename properties to 'SELECTED_TRANSLATION_COMPUTE_TYPE' and 'SELECTED_TRANSCRIPTION_COMPUTE_TYPE'
2025-09-27 07:07:54 +09:00
misyaguziya
5366622fca
[Update] Refactor compute device management: change methods to instance methods and set compute types to "auto"
2025-09-26 23:30:39 +09:00
Sakamoto Shiina
8c5f1b5db2
[Update/Chore] Config Page: Put the selectors 'Compute Device' and 'Compute Type' to the same section.
...
Rename: UI: CTranslate2/Whisper Compute Type to Translation/Transcription Compute Type.
2025-09-26 17:07:19 +09:00
misyaguziya
92f9d645f8
[Update] Refactor compute type management: rename CTranslate2 and Whisper compute types to Translation and Transcription
2025-09-25 22:56:16 +09:00
misyaguziya
0bb6bb5977
Merge branch 'refactoring_backend' into develop
2025-09-25 17:27:33 +09:00