Commit
·
9f638b5
1
Parent(s):
fd5fbc8
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def query(filename):
|
|
| 16 |
return response.json()
|
| 17 |
data = bytes(im.getdata())
|
| 18 |
def rb(img):
|
| 19 |
-
response = requests.post(API_URL, headers=headers, data=bytes(img.getdata())
|
| 20 |
return response.json()
|
| 21 |
|
| 22 |
# train = os.listdir("./")
|
|
|
|
| 16 |
return response.json()
|
| 17 |
data = bytes(im.getdata())
|
| 18 |
def rb(img):
|
| 19 |
+
response = requests.post(API_URL, headers=headers, data=bytes(img.getdata()))
|
| 20 |
return response.json()
|
| 21 |
|
| 22 |
# train = os.listdir("./")
|