Skip to content

Commit

Permalink
fix: Disable HuggingFace driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Mar 18, 2024
1 parent 33a77af commit b45b753
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions naas_drivers/__init__.py
Expand Up @@ -408,11 +408,11 @@ def sharepoint():
return Sharepoint()


@load_driver(extra_requires="ml")
def huggingface():
from naas_drivers.tools.huggingface import Huggingface
# @load_driver(extra_requires="ml")
# def huggingface():
# from naas_drivers.tools.huggingface import Huggingface

return Huggingface()
# return Huggingface()


@load_driver(extra_requires="twitter")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -91,7 +91,7 @@
"pydash": [
"pydash==7.0.7",
],
"ml": ["transformers==4.12.5", "tensorflow==2.6.0", "torch==1.8.1", "keras==2.6.0"],
# "ml": ["transformers==4.12.5", "tensorflow==2.6.0", "torch==1.8.1", "keras==2.6.0"],
"sharepoint": ["SharePlum==0.5.1"],
"snowflake": [
"snowflake-connector-python==2.7.8"
Expand Down

0 comments on commit b45b753

Please sign in to comment.