pragnakalp
commited on
Commit
•
06893f0
1
Parent(s):
47ab177
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def save_details(Method,text_output,img):
|
|
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,
|
135 |
# method = []
|
136 |
# img_path = []
|
137 |
# text = []
|
|
|
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)
|
135 |
# method = []
|
136 |
# img_path = []
|
137 |
# text = []
|