print("loading server")
HOST, PORT = args.host, port
server = socketserver.TCPServer((HOST, PORT), MyTCPHandler)
print("server loaded")
server.serve_forever()
After Change
from solutions.set_expansion import set_expand
from nlp_architect.utils.io import validate_existing_filepath, check_size
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
logger = logging.getLogger(__name__)
class MyTCPHandler(socketserver.BaseRequestHandler):