elgammal commited on
Commit
144841b
·
1 Parent(s): 8e8790c

fix header

Browse files
Files changed (1) hide show
  1. 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'Token {token}'}
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