mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
version 2 of trying to get the module names
This commit is contained in:
@@ -31,12 +31,14 @@ uploadContainer.addEventListener("drop", (e) => {
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
window.addEventListener('load', (e) => {
|
||||
window.addEventListener('load', async (e) => {
|
||||
try {
|
||||
console.log("test");
|
||||
loadLanguageOptions();
|
||||
window.onStartup.getModuleNames();
|
||||
const value = await window.onStartup.getModuleNames();
|
||||
loadAiOptions(value.ai_modules);
|
||||
loadTranscriptionOptions(value.transcription_modules);
|
||||
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user