Adds WhisperX, reworks UI (still needs some work), theoretically usable

This commit is contained in:
Guillaume Tâche
2024-08-17 22:05:04 +02:00
parent 7bddf53bab
commit 3fa51eb95b
204 changed files with 4787 additions and 1321 deletions

View File

@@ -10,7 +10,7 @@ import javax.inject.Inject;
/**
* DeepL implementation of {@link Translator}
*/
public class DeepLTranslator implements Translator {
public class DeepLTranslator implements Translator<Subtitle> {
@Inject
DeepLTranslator() {
@@ -32,7 +32,7 @@ public class DeepLTranslator implements Translator {
}
@Override
public SubtitleCollection translate(final SubtitleCollection collection, final Language to) {
public SubtitleCollection<Subtitle> translate(final SubtitleCollection<?> collection, final Language to) {
return null;
}
}