Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
import xml.etree.ElementTree as ET
import json
import settings
from flask_cors import CORS

app = Flask(__name__)
CORS(app)

model = Doc2Vec.load('models/doc2_1.model')
yahoo_url = 'https://jlp.yahooapis.jp/MAService/V1/parse'
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Flask
gensim
gunicorn
python-dotenv
python-dotenv
flask_cors