Update utils/goat.py
Browse files- utils/goat.py +1 -1
utils/goat.py
CHANGED
|
@@ -4,7 +4,7 @@ import json
|
|
| 4 |
|
| 5 |
def call_inference(image_file):
|
| 6 |
files = {
|
| 7 |
-
'media': open(image_file
|
| 8 |
}
|
| 9 |
|
| 10 |
response = requests.post(
|
|
|
|
| 4 |
|
| 5 |
def call_inference(image_file):
|
| 6 |
files = {
|
| 7 |
+
'media': open(image_file, 'rb')
|
| 8 |
}
|
| 9 |
|
| 10 |
response = requests.post(
|