Relative imports in clean-text-to-keywords break when used as a module #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
clean-text-to-keywords/infer_json_usage.pylines 7-8 use bare imports:Problem
python infer_json_usage.py(directory is insys.path)prompt_to_card_pipeline.pywhich calls it via subprocessFix
Either:
__init__.pyand use relative imports:from .keyword_extractor import ...sys.pathat the top of the script