Skip to content
Snippets Groups Projects
Unverified Commit 32fea946 authored by Marcin Wątroba's avatar Marcin Wątroba
Browse files

Fix embedding API

parent c0b718cf
Branches
1 merge request!10Feature/add auth asr service
...@@ -28,6 +28,7 @@ class EmbeddingBaseProcessor(ABC): ...@@ -28,6 +28,7 @@ class EmbeddingBaseProcessor(ABC):
def process_embeddings(self, language: str): def process_embeddings(self, language: str):
words = request.json words = request.json
print(words)
if words is not List[str]: if words is not List[str]:
raise Exception("Incorrect body") raise Exception("Incorrect body")
return jsonify( return jsonify(
......
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