Commit 6c609627 authored by Sylvain Coulange's avatar Sylvain Coulange

passage aux modèles larges et ajout Allowed_hosts i3l

parent fca04b80
......@@ -25,7 +25,7 @@ SECRET_KEY = 'qo%b%2+hpt#2x&7ux_k0tcr#l0ylly0@*s1a-vzhxs-#*jlc6z'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['127.0.0.1', 'grammacolor.alem-app.fr']
ALLOWED_HOSTS = ['127.0.0.1', 'grammacolor.alem-app.fr', 'grammacolori3l.alem-app.fr']
# Application definition
......
......@@ -2,8 +2,8 @@ from django.shortcuts import render
from django.http import JsonResponse
import re, json, spacy
nlpFr = spacy.load('fr_core_news_md')
nlpZh = spacy.load('zh_core_web_md')
nlpFr = spacy.load('fr_core_news_lg')
nlpZh = spacy.load('zh_core_web_lg')
def home(request):
return render(request, 'coloriser.html')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment