{% extends "base.html" %}
{% block actions %}{% endblock %}
{% block content %}
| OcrRoute | {{ rep.ocrroute }} |
| Python | {{ rep.python }} |
| {{ _('Platform') }} | {{ rep.platform }} |
| GPU | {{ rep.gpu }} |
| Tesseract | {{ rep.tesseract_binary or '-' }} |
| {{ _('Privacy mode') }} | {{ rep.privacy_mode }} |
| {{ _('Database') }} | {{ rep.database.path }} |
| {{ _('Size') }} | {{ (rep.database.size_bytes/1024)|round(1) }} KB |
| {{ _('Integrity') }} | {{ rep.database.integrity }} |
| {{ _('Journal') }} | {{ rep.database.journal_mode }} |
| {{ _('Disk free') }} | {{ (rep.disk.free_bytes/1073741824)|round(1) }} GB |
| {{ _('API port') }} | {{ rep.ports.api }} {% if rep.ports.conflicts %}reserved{% endif %} |
| {{ _('Never bound') }} | {{ rep.ports.forbidden|join(', ') }} |
{{ _('Environment') }}
{% for k, v in rep.env.items() %}| {{ k }} | {{ v }} |
{% else %}| {{ _('no OCRROUTE_* variables set') }} |
{% endfor %}
| {{ _('engine') }} | {{ _('kind') }} | {{ _('status') }} | {{ _('hint') }} |
{% for e in rep.engines %}| {{ e.id }} | {{ e.kind }} | {% if e.available %}ok{% else %}{{ _('missing') }}{% endif %} | {% if not e.available %} {{ e.import_error[:140] }} {{ e.install_hint }}{% endif %} |
{% endfor %}
{% endblock %}
{% block scripts %}{% endblock %}