(video_path: Optional[str])
| 111 | |
| 112 | |
| 113 | def make_mllm_api(video_path: Optional[str]) -> Callable[[str], str]: |
| 114 | if video_path: |
| 115 | return lambda prompt: _call_video_api(prompt, video_path) |
| 116 | else: |
| 117 | return lambda prompt: _call_text_api(prompt) |
| 118 | |
| 119 | |
| 120 | class SelectiveKnowledgeUnlearning: |
no test coverage detected