Create a video information dictionary Args: video_path: Path to the video file prompt: Text prompt associated with the video dimensions: List of evaluation dimensions Returns: Dictionary with video information
(video_path: str, prompt: str, dimensions: List[str])
| 79 | |
| 80 | |
| 81 | def create_video_info_dict(video_path: str, prompt: str, dimensions: List[str]) -> Dict[str, Any]: |
| 82 | """ |
| 83 | Create a video information dictionary |
| 84 | |
| 85 | Args: |
| 86 | video_path: Path to the video file |
| 87 | prompt: Text prompt associated with the video |
| 88 | dimensions: List of evaluation dimensions |
| 89 | |
| 90 | Returns: |
| 91 | Dictionary with video information |
| 92 | """ |
| 93 | return { |
| 94 | "prompt_en": prompt, |
| 95 | "dimension": dimensions, |
| 96 | "video_list": [video_path] |
| 97 | } |
| 98 | |
| 99 | |
| 100 | def format_results_summary(results_dict: Dict[str, Any]) -> str: |
nothing calls this directly
no outgoing calls
no test coverage detected