Spaces:
Sleeping
Sleeping
| { | |
| "info": { | |
| "_postman_id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d", | |
| "name": "NOW Classification API", | |
| "description": "A collection for testing the Flask API that serves a YOLOv8 classification model. The API takes an image file and returns the top predicted classes with their confidence scores.", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "Predict Image Class", | |
| "request": { | |
| "method": "POST", | |
| "header": [], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "file", | |
| "type": "file", | |
| "description": "The image file (jpg, png, jpeg) to be classified. You must select a file from your computer.", | |
| "src": [] | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "http://127.0.0.1:5000/predict", | |
| "protocol": "http", | |
| "host": [ | |
| "127", | |
| "0", | |
| "0", | |
| "1" | |
| ], | |
| "port": "5000", | |
| "path": [ | |
| "predict" | |
| ] | |
| }, | |
| "description": "Upload an image to get its classification predictions. \n\n**Instructions:**\n1. Go to the **Body** tab below.\n2. Make sure **form-data** is selected.\n3. Find the key named `file`.\n4. On the right side of that row, click **Select Files** and choose an image from your computer.\n5. Click **Send**." | |
| }, | |
| "response": [] | |
| } | |
| ] | |
| } |