MCPcopy Create free account
hub / github.com/showlab/Code2Video / _call_video_api

Function _call_video_api

src/eval_TQ.py:108–110  ·  view source on GitHub ↗
(prompt: str, video_path: str)

Source from the content-addressed store, hash-verified

106
107@retry(max_retries=3, base_delay=0.6, jitter=0.3)
108def _call_video_api(prompt: str, video_path: str) -> str:
109 response = request_gemini_with_video(prompt=prompt, video_path=video_path)
110 return extract_answer_from_response(response)
111
112
113def make_mllm_api(video_path: Optional[str]) -> Callable[[str], str]:

Callers 1

make_mllm_apiFunction · 0.85

Calls 2

Tested by

no test coverage detected