Spaces:
Sleeping
Sleeping
Download tiny_trigger/__init__.py from build-small-hackathon/tiny-trigger: direct link, hf CLI and curl.
- Browser
- Download file 845 Bytes
-
https://huggingface.co/spaces/build-small-hackathon/tiny-trigger/resolve/498b1c6598afd1f1fbdbf455287c016ad656d8ab/tiny_trigger/__init__.py
- Command line
-
hf download hf://spaces/build-small-hackathon/tiny-trigger@498b1c6598afd1f1fbdbf455287c016ad656d8ab/tiny_trigger/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/build-small-hackathon/tiny-trigger/resolve/498b1c6598afd1f1fbdbf455287c016ad656d8ab/tiny_trigger/__init__.py
845 Bytes
| """Open-vocabulary video automations for Tiny Trigger.""" | |
| from .automation import RuleEngine, evaluate_video_detections, load_automation_text | |
| from .detector import UltralyticsYOLOEDetector, parse_class_prompt | |
| from .llm import ( | |
| DEFAULT_ANTHROPIC_MODEL, | |
| DEFAULT_OPENAI_MODEL, | |
| DEFAULT_REPLICATE_MODEL, | |
| compile_automation_with_anthropic, | |
| compile_automation_with_openai, | |
| compile_automation_with_replicate, | |
| ) | |
| from .video import process_video | |
| __all__ = [ | |
| "RuleEngine", | |
| "UltralyticsYOLOEDetector", | |
| "DEFAULT_ANTHROPIC_MODEL", | |
| "DEFAULT_OPENAI_MODEL", | |
| "DEFAULT_REPLICATE_MODEL", | |
| "compile_automation_with_anthropic", | |
| "compile_automation_with_openai", | |
| "compile_automation_with_replicate", | |
| "evaluate_video_detections", | |
| "load_automation_text", | |
| "parse_class_prompt", | |
| "process_video", | |
| ] | |