Skip to content

Commit

Permalink
add sentiment page
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasxlu committed Apr 5, 2019
1 parent 0eb6be8 commit 024005a
Show file tree
Hide file tree
Showing 84 changed files with 108,413 additions and 4 deletions.
12 changes: 9 additions & 3 deletions XCloud/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware', # close CSRF to avoid CS problems
'django.middleware.csrf.CsrfViewMiddleware', # close CSRF to avoid CS problems
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
Expand Down Expand Up @@ -119,5 +119,11 @@

STATIC_ROOT = ''
STATIC_URL = '/static/'
STATICFILES_DIRS = ('D:/Users/LucasX/PycharmProjects/XCloud/cv/static', '/root/Project/XCloud/cv/static',
'D:/Users/29140/PycharmProjects/XCloud/cv/static')
STATICFILES_DIRS = (
'D:/Users/LucasX/PycharmProjects/XCloud/cv/static',
'/root/Project/XCloud/cv/static',
'D:/Users/29140/PycharmProjects/XCloud/cv/static',
'D:/Users/LucasX/PycharmProjects/XCloud/nlp/static',
'/root/Project/XCloud/nlp/static',
'D:/Users/29140/PycharmProjects/XCloud/nlp/static',
)
2 changes: 1 addition & 1 deletion cv/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h4>
</h4>
<p>Text Analysis
<p>
<a href="#" class="btn btn-light">Know More</a>
<a href="/nlp/sentimentview" target="_blank" class="btn btn-light">Know More</a>
</div>
</div>
<div class="col-md-3 col-sm-6">
Expand Down
Loading

0 comments on commit 024005a

Please sign in to comment.