MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / create_video_info_dict

Function create_video_info_dict

mbench/utils.py:81–97  ·  view source on GitHub ↗

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])

Source from the content-addressed store, hash-verified

79
80
81def 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
100def format_results_summary(results_dict: Dict[str, Any]) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected