pragnakalp commited on
Commit
47ab177
1 Parent(s): 45996a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,7 +129,7 @@ def save_details(Method,text_output,img):
129
  print(img)
130
  hostname = get_device_ip_address()
131
  url = 'https://pragnakalpdev33.pythonanywhere.com/HF_space_image_to_text'
132
- myobj = {'Method': Method,'text_output':text_output,'img':img,'hostname':hostname}
133
 
134
  x = requests.post(url, data = myobj)
135
  # method = []
 
129
  print(img)
130
  hostname = get_device_ip_address()
131
  url = 'https://pragnakalpdev33.pythonanywhere.com/HF_space_image_to_text'
132
+ myobj = {'Method': Method,'text_output':text_output,'img':img.tolist(),'hostname':hostname}
133
 
134
  x = requests.post(url, data = myobj)
135
  # method = []