mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Remove unused test variable
This commit is contained in:
parent
81ca4ef12a
commit
aa6ee42984
@ -11,15 +11,15 @@ import os
|
||||
|
||||
|
||||
SERVICES = {'corpus_analysis': {'name': 'Corpus analysis'},
|
||||
'setup_files': {'name': 'Setup files',
|
||||
'resources': {'mem_mb': 4096, 'n_cores': 4},
|
||||
'add_job_form': AddSetupFilesJobForm},
|
||||
'nlp': {'name': 'Natural Language Processing',
|
||||
'resources': {'mem_mb': 4096, 'n_cores': 2},
|
||||
'add_job_form': AddNLPJobForm},
|
||||
'ocr': {'name': 'Optical Character Recognition',
|
||||
'resources': {'mem_mb': 8192, 'n_cores': 4},
|
||||
'add_job_form': AddOCRJobForm}}
|
||||
'add_job_form': AddOCRJobForm},
|
||||
'setup_files': {'name': 'Setup files',
|
||||
'resources': {'mem_mb': 4096, 'n_cores': 4},
|
||||
'add_job_form': AddSetupFilesJobForm}}
|
||||
|
||||
|
||||
@services.route('/<service>', methods=['GET', 'POST'])
|
||||
@ -74,6 +74,5 @@ def service(service):
|
||||
return make_response(
|
||||
{'redirect_url': url_for('jobs.job', job_id=job.id)}, 201)
|
||||
return render_template('services/{}.html.j2'.format(service),
|
||||
roadmap=True,
|
||||
title=SERVICES[service]['name'],
|
||||
add_job_form=add_job_form)
|
||||
|
Loading…
Reference in New Issue
Block a user