Download src/planner/semantic_plan.py from pratik-250620/MultiModal-Coherence-AI: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/spaces/pratik-250620/MultiModal-Coherence-AI/resolve/main/src/planner/semantic_plan.py
- Command line
-
hf download hf://spaces/pratik-250620/MultiModal-Coherence-AI/src/planner/semantic_plan.py
-
curl -L -o semantic_plan.py https://huggingface.co/spaces/pratik-250620/MultiModal-Coherence-AI/resolve/main/src/planner/semantic_plan.py
562 Bytes
| from dataclasses import dataclass | |
| from typing import List, Literal | |
| SceneSetting = Literal["urban", "natural", "indoor"] | |
| TimeOfDay = Literal["day", "night", "sunset"] | |
| Weather = Literal["clear", "rain", "fog", "wind"] | |
| Mood = Literal["calm", "tense", "futuristic", "melancholic"] | |
| Motion = Literal["static", "slow", "dynamic"] | |
| class Scene: | |
| setting: SceneSetting | |
| time: TimeOfDay | |
| weather: Weather | |
| class SemanticPlan: | |
| scene: Scene | |
| visual_elements: List[str] | |
| audio_elements: List[str] | |
| mood: Mood | |
| motion: Motion |