mv fasttext for requirements

This commit is contained in:
tink2123
2021-12-31 13:08:51 +08:00
parent b103b75508
commit 845cecd030
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,6 @@ import sys
import six
import cv2
import numpy as np
import fasttext
class DecodeImage(object):
@@ -136,6 +135,7 @@ class ToCHWImage(object):
class Fasttext(object):
def __init__(self, path="None", **kwargs):
import fasttext
self.fast_model = fasttext.load_model(path)
def __call__(self, data):
-1
View File
@@ -12,5 +12,4 @@ cython
lxml
premailer
openpyxl
fasttext==0.9.1
paddlenlp>=2.2.1