Skip to content
Snippets Groups Projects

Feature/add auth asr service

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -29,7 +29,7 @@ class EmbeddingBaseProcessor(ABC):
def process_embeddings(self, language: str):
words = request.json
if words is not List[str]:
print(f'words: {words}')
print(f"words: {words}")
raise Exception("Incorrect body")
return jsonify(
{word: self.numpy_to_list(self.get_embedding(word, language)) for word in words}
Loading