feat:
fix: 翻译 模型ip更换
This commit is contained in:
@@ -90,7 +90,7 @@ def get_response(messages):
|
||||
|
||||
def get_translation_from_llama3(text):
|
||||
start_time = time.time()
|
||||
url = f"http://{settings.A6000_SERVICE_HOST}:11434/api/generate"
|
||||
url = f"http://{settings.A6000_SERVICE_HOST}:12434/api/generate"
|
||||
# url = "http://10.1.1.240:1143/api/generate"
|
||||
|
||||
# prompt = f"System: {prefix_for_llama}\nUser:[{text}]"
|
||||
|
||||
Reference in New Issue
Block a user