Skip to content
Snippets Groups Projects
Commit 7d5ece6c authored by Ruben Bimberg's avatar Ruben Bimberg :computer:
Browse files

Bug fix

parent f34f6986
Branches
Tags
No related merge requests found
......@@ -153,6 +153,9 @@ export class CreateCommentKeywords {
resultType: KeywordsResultType.languageNotSupported
} as KeywordsResult);
}
if (brainstorming) {
text = text.trim();
}
return spacyService.getKeywords(text, commentModel, brainstorming).pipe(
map(keywords => ({
keywords,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment