fix: 参数对齐

This commit is contained in:
zcr
2026-01-26 14:49:57 +08:00
parent fdffb1e724
commit ddef6af1cf
4 changed files with 7 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ def get_translation_from_llama3(text):
def get_prompt_from_image(image_path, text):
start_time = time.time()
# url = "http://localhost:11434/api/generate"
url = "http://10.1.1.243:11434/api/generate"
url = f"http://{settings.B_4_X_4090_SERVICE_HOST}:11434/api/generate"
image_base64 = minio_util.minio_url_to_base64(image_path.img)
# image_base64 = minio_url_to_base64(image_path)