Python, Artificial Intelligence, Serverless, Hugging Face, Local Gpt.
the local directory where I stored the input image. After that we call the callAPI function with the 4 argument (if you want in the future to play with guidance_scale and strength you are ready to go…). Finally we open the image as a ByteIO object, display it in Streamlit and save it. Save your