|
|
@ -2,12 +2,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
from flask import Flask, render_template, request, Response
|
|
|
|
from flask import Flask, render_template, request, Response
|
|
|
|
# from weasyprint import HTML
|
|
|
|
# from weasyprint import HTML
|
|
|
|
from .pagedjs import make_pdf
|
|
|
|
from pagedjs import make_pdf
|
|
|
|
from .settings import DEBUG, BASEURL
|
|
|
|
from settings import DEBUG, BASEURL
|
|
|
|
|
|
|
|
|
|
|
|
# Spacy tries to import CUDA, do not break when it fails
|
|
|
|
# Spacy tries to import CUDA, do not break when it fails
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
from .paseo import crear_camino
|
|
|
|
from paseo import crear_camino
|
|
|
|
except ModuleNotFoundError:
|
|
|
|
except ModuleNotFoundError:
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|