This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import inspect | |
import importlib.util as imp | |
import logging | |
import sys | |
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'deploy')) | |
script_location = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'deploy/score.py') | |
driver_module_spec = imp.spec_from_file_location('service_driver', script_location) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import inspect | |
import importlib.util as imp | |
import logging | |
import sys | |
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'deploy')) | |
script_location = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'deploy/score.py') | |
driver_module_spec = imp.spec_from_file_location('service_driver', script_location) |