Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
R1j1t committed Aug 23, 2020
2 parents f90d071 + d653a36 commit ef4c13e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions RESTAPI/modelAPI.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from flask import request
from contextualSpellCheck.contextualSpellCheck import ContextualSpellCheck
import spacy
import json
from flask import Flask, render_template, request, make_response, jsonify
from flask import Flask, request, make_response


# url
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
torch
editdistance
Flask
transformers
spacy
editdistance
pytest
torch
transformers
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="contextualSpellCheck",
version="0.2.0",
version="0.2.1",
author="R1j1t",
author_email="r1j1t@protonmail.com",
description="Contextual spell correction using BERT (bidirectional representations)",
Expand All @@ -28,4 +28,5 @@
"Development Status :: 4 - Beta",
],
python_requires=">=3.6",
install_requires=["torch", "editdistance", "transformers", "spacy"],
)

0 comments on commit ef4c13e

Please sign in to comment.