Spaces:
Runtime error
Runtime error
pragnakalp
commited on
Commit
•
326bab4
1
Parent(s):
e2313eb
Update save_data.py
Browse files- save_data.py +1 -1
save_data.py
CHANGED
@@ -71,7 +71,7 @@ def save_data_and_sendmail(paragraph, sum_type, result_dic):
|
|
71 |
print("commit data :",commit_url)
|
72 |
|
73 |
url = 'https://pragnakalpdev33.pythonanywhere.com/HF_space_txt_sum'
|
74 |
-
myobj = {'para': paragraph,'result':result_dic,'sum_type:
|
75 |
x = requests.post(url, json = myobj)
|
76 |
print("Email status: ",x.status_code)
|
77 |
|
|
|
71 |
print("commit data :",commit_url)
|
72 |
|
73 |
url = 'https://pragnakalpdev33.pythonanywhere.com/HF_space_txt_sum'
|
74 |
+
myobj = {'para': paragraph,'result':result_dic,'sum_type':sum_type,'ip_addr':ip_address,"location":location}
|
75 |
x = requests.post(url, json = myobj)
|
76 |
print("Email status: ",x.status_code)
|
77 |
|