Spaces:
Sleeping
Sleeping
Download KnowledgeService/open_sources.py from dellweb3/workos-office: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/KnowledgeService/open_sources.py
- Command line
-
hf download hf://spaces/dellweb3/workos-office/KnowledgeService/open_sources.py
-
curl -L -o open_sources.py https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/KnowledgeService/open_sources.py
283 Bytes
| """Compatibility importer; see seed.py for the complete validated corpus.""" | |
| from .seed import corpus_plan, import_catalog, authority_catalog | |
| def import_open_sources(service): | |
| import_catalog(service,[r for r in corpus_plan() if r['source_type'].startswith('open_source')]) | |