Commit 37759908 authored by I.K Seneviratne's avatar I.K Seneviratne

Committing the random commit.

parent 3e85b92f
......@@ -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