From 2f2973de78276ce7ca026568aba7204dc653e85d Mon Sep 17 00:00:00 2001 From: CJ Pais Date: Sat, 17 Feb 2024 12:42:24 -0800 Subject: [PATCH] remove commented code --- examples/server/server.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 4afcdb86f..0645386da 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -704,11 +704,6 @@ struct llama_server_context img_sl.id = img.count("id") != 0 ? img["id"].get() : slot->images.size(); img_sl.img_data = clip_image_u8_init(); img_sl.img_data->buf = image_buffer; - // if (!clip_image_load_from_bytes(image_buffer.data(), image_buffer.size(), img_sl.img_data)) - // { - // LOG_TEE("slot %i - failed to load image [id: %i]\n", slot->id, img_sl.id); - // return false; - // } LOG_TEE("slot %i - loaded image\n", slot->id); img_sl.request_encode_image = true; slot->images.push_back(img_sl);