| library_name: torch | |
| tags: | |
| - image-classification | |
| - resnet | |
| # Model Card Content | |
| ## Model Description | |
| This is a ResNet model for image classification. | |
| ## Usage | |
| ```python | |
| import requests | |
| API_URL = "https://api-inference.huggingface.co/models/giulio678/model_v11" | |
| headers = {"Authorization": "Bearer TUO_TOKEN"} | |
| payload = {"inputs": "path/to/your/image.jpg"} | |
| response = requests.post(API_URL, headers=headers, json=payload) | |
| print(response.json()) | |