tags: | |
- image-to-image | |
- super-resolution | |
library_name: generic | |
## DAT-x2 for 🤗Inference endpoint deployment. | |
### Expected payload: | |
Curl: | |
```json | |
curl URL \ | |
-X POST \ | |
--data-binary @car.png \ | |
-H "Content-Type: image/png" | |
``` | |
Python: | |
```python | |
requests.post(ENDPOINT_URL, headers={"Content-Type": "image/png"}, data=open("car.png", 'rb').read()).json() | |
``` |