Added two more endpoints for the Speaking generation

This commit is contained in:
Tiago Ribeiro
2024-01-23 17:32:15 +00:00
parent a577eed013
commit ac7ba2edfa
2 changed files with 67 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ KAYLA_ABBI = "d688099f8db9472cb4890b0561e81793"
JEROME_RYAN = "ad41feb2a5c4483085525e3d8907f512"
TYLER_CHRISTOPHER = "03c796f8ed274bb38f19e893bcbc6121"
def create_videos_and_save_to_db(exercises, template, id):
# Speaking 1
# Using list comprehension to find the element with the desired value in the 'type' field