multiple_images_client.py

import requests images = ["images/akiec.jpg", "images/bcc.jpg"] requests.post( f"http://127.0.0.1:8000/predicts/ShuffleNetV2", files = [('files', open(path, 'rb')) for path in images] ).json()

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.