[Update/Chore] UI: Compute Type: Rename and add endpoint '/run/'.

This commit is contained in:
Sakamoto Shiina committed 2025-09-27 07:55:45 +09:00
1 parent 6effedcce2
commit e9067c05c6
3 files changed
+10 -8

No files matched your search

@@ -87,12 +87,12 @@ export const useTranslation = () => {
const getSelectedTranslationComputeType = () => {
pendingSelectedTranslationComputeType();
asyncStdoutToPython("/get/data/translation_compute_type");
asyncStdoutToPython("/get/data/selected_translation_compute_type");
};
const setSelectedTranslationComputeType = (selected_translation_compute_type) => {
pendingSelectedTranslationComputeType();
asyncStdoutToPython("/set/data/translation_compute_type", selected_translation_compute_type);
asyncStdoutToPython("/set/data/selected_translation_compute_type", selected_translation_compute_type);
};
const setSuccessSelectedTranslationComputeType = (selected_translation_compute_type) => {