File size: 393 Bytes
167abc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
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()
```