feat:
fix: 翻译 模型ip更换
This commit is contained in:
@@ -103,7 +103,7 @@ def get_translation_from_llama3(text):
|
|||||||
|
|
||||||
# 创建请求的负载 translator是自定义的翻译模型
|
# 创建请求的负载 translator是自定义的翻译模型
|
||||||
payload = {
|
payload = {
|
||||||
"model": "translator",
|
"model": "AiDA-translator:latest",
|
||||||
"prompt": f"[{text}]",
|
"prompt": f"[{text}]",
|
||||||
"stream": False
|
"stream": False
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user