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

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

View File

@@ -256,12 +256,12 @@ export const useTranscription = () => {
const getSelectedTranscriptionComputeType = () => {
pendingSelectedTranscriptionComputeType();
asyncStdoutToPython("/get/data/transcription_compute_type");
asyncStdoutToPython("/get/data/selected_transcription_compute_type");
};
const setSelectedTranscriptionComputeType = (selected_transcription_compute_type) => {
pendingSelectedTranscriptionComputeType();
asyncStdoutToPython("/set/data/transcription_compute_type", selected_transcription_compute_type);
asyncStdoutToPython("/set/data/selected_transcription_compute_type", selected_transcription_compute_type);
};
const setSuccessSelectedTranscriptionComputeType = (selected_transcription_compute_type) => {