yuragoithf
commited on
Commit
·
79948e0
1
Parent(s):
9f638b5
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def query(filename):
|
|
14 |
data = f.read()
|
15 |
response = requests.post(API_URL, headers=headers, data=data)
|
16 |
return response.json()
|
17 |
-
|
18 |
def rb(img):
|
19 |
response = requests.post(API_URL, headers=headers, data=bytes(img.getdata()))
|
20 |
return response.json()
|
|
|
14 |
data = f.read()
|
15 |
response = requests.post(API_URL, headers=headers, data=data)
|
16 |
return response.json()
|
17 |
+
|
18 |
def rb(img):
|
19 |
response = requests.post(API_URL, headers=headers, data=bytes(img.getdata()))
|
20 |
return response.json()
|