コード例 #1
0
ファイル: run.py プロジェクト: jittat/hcr-web
def submit():
    options = request.form
    j_id = Job.create(options)
    return jsonify(jobid=str(j_id),
                   qsize=Job.queue_size())
コード例 #2
0
ファイル: run.py プロジェクト: jittat/hcr-web
def index():
    return render_template('index.html',
                           queue_size=Job.queue_size())