Skip to content

Commit

Permalink
fix switching model type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tranhuy105 committed Aug 1, 2024
1 parent b112b5c commit 1230e7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public void getTranslationAsync(String originalText, String elementId) {
originalText,
sourceLanguage.getValue(),
targetLanguage.getValue(),
ApiClientService.getClient(ApiClientType.MICROSOFT_TRANSLATOR)
ApiClientService.getClient(modelType.getValue())
);
} catch (Exception e) {
Platform.runLater(() -> sendTranslationErrorToView(elementId, e.getMessage()));
Expand Down

0 comments on commit 1230e7c

Please # to comment.