Spaces:
Runtime error
Runtime error
fix header
Browse files- playform.py +1 -1
playform.py
CHANGED
|
@@ -57,7 +57,7 @@ def send_image(img,api_url,token):
|
|
| 57 |
files = [('image',('image.jpg',f,'image/jpeg'))]
|
| 58 |
|
| 59 |
# Set the headers for the request
|
| 60 |
-
headers = {'Authorization': f'
|
| 61 |
|
| 62 |
payload = {}
|
| 63 |
|
|
|
|
| 57 |
files = [('image',('image.jpg',f,'image/jpeg'))]
|
| 58 |
|
| 59 |
# Set the headers for the request
|
| 60 |
+
headers = {'Authorization': f'{token}'}
|
| 61 |
|
| 62 |
payload = {}
|
| 63 |
|