From 5b0344dd9544d449128d08efb353da5f989d4c3d Mon Sep 17 00:00:00 2001 From: linyq Date: Tue, 26 Nov 2024 16:38:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/llm.py b/app/services/llm.py index d054eb1..2e3b942 100644 --- a/app/services/llm.py +++ b/app/services/llm.py @@ -354,7 +354,7 @@ def _generate_response(prompt: str, llm_provider: str = None) -> str: return content.replace("\n", "") -def _generate_response_video(prompt: str, llm_provider_video: str, video_file: Union[str, TextIO]) -> str: +def _generate_response_video(prompt: str, llm_provider_video: str, video_file: Union[str, File]) -> str: """ 多模态能力大模型 """