Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
],
template_path=os.path.join(os.path.dirname(__file__), "templates"),
static_path= self.static_path)
self.port = port
def start(self):
server = HTTPServer(self.routes)
server.listen(self.port)
IOLoop.current().start()
# Example
if __name__ == "__main__":
job_manager = JobManager(solver = RandomSearch(simple_params_grid, 1, 1, 10, "keras", "mnist_train.npz"))
#job_manager = JobManager(solver = GridSearch(simple_params_grid, 1, 1, "keras", "sin_data.npz"))
server = JobHTTPServer(8080, job_manager)
server.start()