Spaces:
Sleeping
Sleeping
File size: 168 Bytes
d785ac4 |
1 2 3 4 5 6 7 |
import requests
url = 'http://127.0.0.1:8000/'
files = {'image': open('./data/catch_copy_.png', 'rb')}
response = requests.post(url, files=files)
print(response.text) |