From 8e1f20482b0d6c39e6f3c39489b08c48533aee77 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Fri, 24 Nov 2023 09:04:07 +0100 Subject: [PATCH] =?UTF-8?q?S=C3=A5=20kan=20vi=20satme=20POST=20til=20knowl?= =?UTF-8?q?edge=20graph=20endpointet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- relation_extraction/output.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/relation_extraction/output.py b/relation_extraction/output.py index e83c3ac..1c17898 100644 --- a/relation_extraction/output.py +++ b/relation_extraction/output.py @@ -1,4 +1,3 @@ -import json import requests def format_output(output): @@ -8,4 +7,3 @@ def format_output(output): def send_to_database_component(output): URL = "http://192.38.54.90/knowledge-base" response = requests.post(url=URL, json=format_output(output)) - \ No newline at end of file