Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anaïs Berck
Paseo por árboles de Madrid
Commits
206ec19c
Commit
206ec19c
authored
Oct 06, 2021
by
gijs
Browse files
Load fragment to reduce memory usage.
parent
82eb877c
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/app.py
View file @
206ec19c
...
...
@@ -198,11 +198,11 @@ def book_en ():
first_word
=
'a'
if
fragment
==
0
:
novel
=
os
.
path
.
join
(
basepath
,
'../data/emilia_english.txt'
)
novel
=
os
.
path
.
join
(
basepath
,
'../data/emilia_english
_fragment
.txt'
)
author
=
'Emilia Pardo Bazán'
# Non breaking spaces
title
=
'The Swan of Vila Morta'
# Non breaking spaces
else
:
novel
=
os
.
path
.
join
(
basepath
,
'../data/benito_english.txt'
)
novel
=
os
.
path
.
join
(
basepath
,
'../data/benito_english
_fragment
.txt'
)
author
=
'Benito Pérez Gáldos'
# Non breaking spaces
title
=
'Marianela'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment