pragnakalp commited on
Commit
4d21d95
1 Parent(s): 06893f0

change url for PA

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -128,7 +128,8 @@ Save generated details
128
  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.tolist(),'hostname':hostname}
133
 
134
  x = requests.post(url, json = myobj)
 
128
  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
+ url = 'http://pragnakalpdev35.pythonanywhere.com/HF_space_image_to_text'
133
  myobj = {'Method': Method,'text_output':text_output,'img':img.tolist(),'hostname':hostname}
134
 
135
  x = requests.post(url, json = myobj)