From a2f35d8cd88b7d2541aa81ffb7664af9ce7c0e51 Mon Sep 17 00:00:00 2001 From: Newnius Date: Thu, 9 Jul 2020 10:15:28 +0800 Subject: [PATCH] add api.py --- api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api.py b/api.py index a5fbd3e..cfefeca 100644 --- a/api.py +++ b/api.py @@ -4,7 +4,7 @@ import os import json '''Configuration''' -BASE_URL = 'http://yao.pasalab.jluapp.com' +BASE_URL = 'http://yao.example.com' '''''' sess = requests.Session() @@ -98,7 +98,7 @@ if __name__ == '__main__': # print(json.dumps(tasks)) job = { 'name': 'test', - 'workspace': 'http://code.pasalab.jluapp.com/newnius/yao-job-benchmarks.git', + 'workspace': 'https://github.com/tensorflow/benchmarks.git', 'cluster': 'default', 'priority': '25', 'run_before': '', @@ -111,3 +111,4 @@ if __name__ == '__main__': job_status(msg['job_name']) job_list() +