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") ...@@ -104,11 +104,11 @@ def automation_process(lecturer, subject, subject_code, video_length="00:20:00")
# save the lecturer audio # save the lecturer audio
for i in range(100): # for i in range(100):
print('outer loop: ', i) # print('outer loop: ', i)
#
for j in range(10000): # for j in range(10000):
print('inner loop: ', j) # print('inner loop: ', j)
# start the batch processing for lecture summarization component # start the batch processing for lecture summarization component
......
...@@ -15,13 +15,13 @@ def student_behavior_batch_process(video_id, video_name): ...@@ -15,13 +15,13 @@ def student_behavior_batch_process(video_id, video_name):
if activity_resp.json()['response']: if activity_resp.json()['response']:
# call the emotion process # 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 the emotion process is success
if emotion_resp.json()['response']: if emotion_resp.json()['response']:
# call the gaze process # 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 the gaze estimation process is successful
if gaze_resp.json()['response']: 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