[Update] Config Page: Translation, Transcription Tab. Add Select CTranslate2/Whisper Compute Device section.

This commit is contained in:
Sakamoto Shiina
2024-12-03 10:25:53 +09:00
parent e6a7ff03aa
commit 7d8a2cacd0
14 changed files with 297 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
export { useComputeMode } from "./useComputeMode";
export { useInitProgress } from "./useInitProgress";
export { useIsBackendReady } from "./useIsBackendReady";
export { useWindow } from "./useWindow";

View File

@@ -0,0 +1,10 @@
import { useStore_ComputeMode } from "@store";
export const useComputeMode = () => {
const { currentComputeMode, updateComputeMode } = useStore_ComputeMode();
return {
currentComputeMode,
updateComputeMode,
};
};