Spaces:
Running
Running
tiennguyenbnbk
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def send_request_english(input_dict):
|
|
14 |
print(json_data)
|
15 |
|
16 |
response = requests.post(
|
17 |
-
'https://dev-tutor-chatbot.vuihoc.vn/api/generate_evaluation_english',
|
18 |
headers=headers,
|
19 |
json=json_data,
|
20 |
)
|
@@ -33,7 +33,7 @@ def send_request_math(input_dict):
|
|
33 |
print(json_data)
|
34 |
|
35 |
response = requests.post(
|
36 |
-
'https://dev-tutor-chatbot.vuihoc.vn/api/generate_evaluation_math',
|
37 |
headers=headers,
|
38 |
json=json_data,
|
39 |
)
|
@@ -52,7 +52,7 @@ def send_request_ielts(input_dict):
|
|
52 |
print(json_data)
|
53 |
|
54 |
response = requests.post(
|
55 |
-
'https://dev-tutor-chatbot.vuihoc.vn/api/generate_evaluation_ielts',
|
56 |
headers=headers,
|
57 |
json=json_data,
|
58 |
)
|
|
|
14 |
print(json_data)
|
15 |
|
16 |
response = requests.post(
|
17 |
+
'https://dev-tutor-chatbot.vuihoc.vn/api/v1/generate_evaluation_english',
|
18 |
headers=headers,
|
19 |
json=json_data,
|
20 |
)
|
|
|
33 |
print(json_data)
|
34 |
|
35 |
response = requests.post(
|
36 |
+
'https://dev-tutor-chatbot.vuihoc.vn/api/v1/generate_evaluation_math',
|
37 |
headers=headers,
|
38 |
json=json_data,
|
39 |
)
|
|
|
52 |
print(json_data)
|
53 |
|
54 |
response = requests.post(
|
55 |
+
'https://dev-tutor-chatbot.vuihoc.vn/api/v1/generate_evaluation_ielts',
|
56 |
headers=headers,
|
57 |
json=json_data,
|
58 |
)
|