Browse Source

Update task image in index page

pull/10/head
Hironsan 6 years ago
parent
commit
f23d62e5e0
5 changed files with 8 additions and 7 deletions
  1. 5
      app/app/settings.py
  2. BIN
      app/server/static/images/named_entity_recognition.png
  3. BIN
      app/server/static/images/sentiment_analysis.png
  4. BIN
      app/server/static/images/translation.png
  5. 10
      app/server/templates/index.html

5
app/app/settings.py

@ -26,9 +26,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'v8sk33sy82!uw3ty=!jjv5vp7=s2phrzw(m(hrn^f7e_#1h2al'
# SECURITY WARNING: don't run with debug turned on in production!
# DEBUG = True
#DEBUG = True
DEBUG = bool(os.environ.get('DEBUG', False))
print(DEBUG)
print(os.environ.get("DEBUG"))
# ALLOWED_HOSTS = []

BIN
app/server/static/images/named_entity_recognition.png

Before After
Width: 2560  |  Height: 1398  |  Size: 415 KiB

BIN
app/server/static/images/sentiment_analysis.png

Before After
Width: 2560  |  Height: 1404  |  Size: 380 KiB

BIN
app/server/static/images/translation.png

Before After
Width: 2560  |  Height: 1402  |  Size: 266 KiB

10
app/server/templates/index.html

@ -8,14 +8,14 @@
<h1 class="title is-1 has-text-white">Text annotation for Human</h1>
<h2 class="subtitle is-4 has-text-white">Just create project, upload data and start annotation. You can build dataset in hours.</h2>
<p>
<a href="{% url 'demo-text-classification' %}" class="button is-medium is-primary">
<a href="{% url 'demo-named-entity-recognition' %}" class="button is-medium is-primary">
Try Demo
</a>
</p>
</div>
<div class="column is-6">
<figure class="image">
<img src="{% static 'images/sequence_labeling.png' %}">
<img src="{% static 'images/named_entity_recognition.png' %}">
</figure>
</div>
</div>
@ -30,7 +30,7 @@
<div class="columns is-vcentered">
<div class="column is-5 is-offset-1">
<figure class="image">
<img src="{% static 'images/sequence_labeling.png' %}" alt="Description">
<img src="{% static 'images/sentiment_analysis.png' %}" alt="Description">
</figure>
</div>
<div class="column is-5">
@ -53,7 +53,7 @@
<div class="columns is-vcentered">
<div class="column is-5 is-offset-1">
<figure class="image">
<img src="{% static 'images/sequence_labeling.png' %}" alt="Description">
<img src="{% static 'images/named_entity_recognition.png' %}" alt="Description">
</figure>
</div>
<div class="column is-5">
@ -76,7 +76,7 @@
<div class="columns is-vcentered">
<div class="column is-5 is-offset-1">
<figure class="image">
<img src="{% static 'images/sequence_labeling.png' %}" alt="Description">
<img src="{% static 'images/translation.png' %}" alt="Description">
</figure>
</div>
<div class="column is-5">

Loading…
Cancel
Save