import cloudinary def upload_image(file_path): response = cloudinary.uploader.upload(file_path) return response['url']