Commit a962c358 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

fixed problem with nlp visualizations.

parent f8b60eea
...@@ -102,7 +102,6 @@ def call_webservice(input_dict): ...@@ -102,7 +102,6 @@ def call_webservice(input_dict):
except Exception as e: except Exception as e:
print e print e
ws_dict[i['name']]='' ws_dict[i['name']]=''
print ws_dict
results = function_to_call(**ws_dict) results = function_to_call(**ws_dict)
output_dict=results output_dict=results
return output_dict return output_dict
......
...@@ -2,6 +2,7 @@ import nlp ...@@ -2,6 +2,7 @@ import nlp
import os.path import os.path
import base64 import base64
from services.webservice import WebService from services.webservice import WebService
from workflows.security import safeOpen
def merge_sentences(input_dict): def merge_sentences(input_dict):
""" """
......
'''
NLP visualization views.
@author: Anze Vavpetic <anze.vavpetic@ijs.si>
'''
from django.shortcuts import render
import nlp import nlp
def definition_sentences_viewer(request, input_dict, output_dict, widget): def definition_sentences_viewer(request, input_dict, output_dict, widget):
......
Supports Markdown
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