Requirements.

master
Gijs 3 years ago
parent 537dd0e848
commit bbb902995a

@ -1 +1,2 @@
spacy
weasyprint

@ -0,0 +1,10 @@
#!/usr/bin/env/ python
from flask import Flask, render_template
BASEURL = ''
app = Flask(__name__)
@app.route('{}/'.format(BASEURL))
def index():
return 'Hello world'

@ -12,7 +12,7 @@ def path(word, words_tree, words_path, trees):
posibilities, dice, next_word = paso(word, words_tree, words_path)
while len(itinerary) < 100 and next_word not in '.!?':
while len(itinerary) < 50 and next_word not in '.!?':
if next_word in ',:;\)':
current_step = current_step[:-1]
current_step += ' '

@ -0,0 +1,3 @@
export FLASK_APP=app.py
export FLASK_ENV=development
flask run

@ -0,0 +1 @@
<h1>Hello world</h1>

Binary file not shown.
Loading…
Cancel
Save