Commit 708499c0 authored by LiniEisha's avatar LiniEisha

Merge branch 'QA_RELEASE' into IT17100908_Lecture_Summarizing

parents 88e57154 618518e0
......@@ -104,11 +104,11 @@ def automation_process(lecturer, subject, subject_code, video_length="00:20:00")
# save the lecturer audio
for i in range(100):
print('outer loop: ', i)
for j in range(10000):
print('inner loop: ', j)
# for i in range(100):
# print('outer loop: ', i)
#
# for j in range(10000):
# print('inner loop: ', j)
# start the batch processing for lecture summarization component
......
......@@ -15,13 +15,13 @@ def student_behavior_batch_process(video_id, video_name):
if activity_resp.json()['response']:
# call the emotion process
emotion_resp = requests.get('http://127.0.0.1:8000/process-lecture-emotion/?lecture_video_name=', params={'lecture_video_name': video_name, 'lecture_video_id': video_id})
emotion_resp = requests.get('http://127.0.0.1:8000/process-lecture-emotion/', params={'lecture_video_name': video_name, 'lecture_video_id': video_id})
# if the emotion process is success
if emotion_resp.json()['response']:
# call the gaze process
gaze_resp = requests.get('http://127.0.0.1:8000/process-lecture-gaze-estimation/?lecture_video_name=', params={'lecture_video_name': video_name, 'lecture_video_id': video_id})
gaze_resp = requests.get('http://127.0.0.1:8000/process-lecture-gaze-estimation/', params={'lecture_video_name': video_name, 'lecture_video_id': video_id})
# if the gaze estimation process is successful
if gaze_resp.json()['response']:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment