Commit
·
775da43
1
Parent(s):
c807374
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def save_data_and_sendmail(article,generated_questions,num_que,result):
|
|
94 |
result1 = result
|
95 |
hostname = get_device_ip_address()
|
96 |
|
97 |
-
# url = '
|
98 |
url = 'http://pragnakalpdev33.pythonanywhere.com/HF_space_question_generator'
|
99 |
myobj = {'article': article1,'gen_que':result1,'ip_addr':hostname.get("ip_addr",""),'host':hostname.get("host","")}
|
100 |
print("myobj ",myobj)
|
|
|
94 |
result1 = result
|
95 |
hostname = get_device_ip_address()
|
96 |
|
97 |
+
# url = 'https://pragnakalpdev35.pythonanywhere.com/HF_space_que_gen'
|
98 |
url = 'http://pragnakalpdev33.pythonanywhere.com/HF_space_question_generator'
|
99 |
myobj = {'article': article1,'gen_que':result1,'ip_addr':hostname.get("ip_addr",""),'host':hostname.get("host","")}
|
100 |
print("myobj ",myobj)
|