Skip to content

Commit 21487eb

Browse files
committed
Create requirements.txt
1 parent 08dbb17 commit 21487eb

File tree

4 files changed

+42
-4
lines changed

4 files changed

+42
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.pyc
2+
venv

app/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from flask import Flask
2+
3+
app = Flask(__name__, template_folder="../client/build", static_folder="../client/build/static")
4+
app.config['SECRET_KEY'] = "Super Secret"
5+
6+
import views

app/app.py app/views.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
from flask import Flask, request, abort, Response, render_template, session
1+
from flask import request, abort, Response, render_template, session
2+
from app import app
23
from global_constants import *
34
from matcher import get_best_intent
45
from predictor import run_prediction
56
from util import emojify
67

7-
app = Flask(__name__, template_folder="../client/build", static_folder="../client/build/static")
8-
app.config['SECRET_KEY'] = "Super Secret"
9-
108
def error(message):
119
abort(Response(message, 400))
1210

requirements.txt

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
absl-py==0.6.1
2+
astor==0.7.1
3+
backports.weakref==1.0.post1
4+
Click==7.0
5+
-e ./DeepMoji
6+
emoji==0.4.5
7+
enum34==1.1.6
8+
Flask==1.0.2
9+
funcsigs==1.0.2
10+
futures==3.2.0
11+
gast==0.2.0
12+
grpcio==1.17.0
13+
h5py==2.7.0
14+
itsdangerous==1.1.0
15+
Jinja2==2.10
16+
Keras==2.0.9
17+
Keras-Applications==1.0.6
18+
Keras-Preprocessing==1.0.5
19+
Markdown==3.0.1
20+
MarkupSafe==1.1.0
21+
mock==2.0.0
22+
numpy==1.13.1
23+
pbr==5.1.1
24+
protobuf==3.6.1
25+
PyYAML==3.13
26+
scikit-learn==0.19.0
27+
scipy==1.1.0
28+
six==1.12.0
29+
tensorboard==1.12.0
30+
tensorflow==1.12.0
31+
termcolor==1.1.0
32+
text-unidecode==1.0
33+
Werkzeug==0.14.1

0 commit comments

Comments
 (0)