This commit is contained in:
Lysandre
2020-01-27 14:49:12 -05:00
parent e0849a66ac
commit 9ca21c838b

View File

@@ -3,7 +3,6 @@ from argparse import ArgumentParser, Namespace
from typing import Any, List, Optional from typing import Any, List, Optional
from starlette.responses import JSONResponse from starlette.responses import JSONResponse
from transformers import Pipeline from transformers import Pipeline
from transformers.commands import BaseTransformersCLICommand from transformers.commands import BaseTransformersCLICommand
from transformers.pipelines import SUPPORTED_TASKS, pipeline from transformers.pipelines import SUPPORTED_TASKS, pipeline