Python, Artificial Intelligence, Serverless, Hugging Face, Local Gpt.
base64. NOTE 1: this is really important: you cannot send binary objects in json format, so you need to transform them into strings! I will explain the process in a bit. NOTE 2: I spent 2 hours to troubleshoot this part! it is really Critical to import pillow in this way from PIL import Image as