From 9a083e8eb0fbfb20b897230fe5c431fae1281f04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcin=20W=C4=85troba?= <markowanga@gmail.com>
Date: Tue, 17 Aug 2021 20:41:32 +0200
Subject: [PATCH] Fix embedding API

---
 .../service_core/embedding/embedding_base_processor.py          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sziszapangma/integration/service_core/embedding/embedding_base_processor.py b/sziszapangma/integration/service_core/embedding/embedding_base_processor.py
index d413dbb..7a25d57 100644
--- a/sziszapangma/integration/service_core/embedding/embedding_base_processor.py
+++ b/sziszapangma/integration/service_core/embedding/embedding_base_processor.py
@@ -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}
-- 
GitLab