|
@@ -220,7 +220,7 @@ async def create_upload_file(file: UploadFile = File(...)):
|
|
|
|
|
|
@app.post("/make_anchor_video_gSlide")
|
|
|
async def make_anchor_video_gSlide(req:models.gSlide_req,token: str = Depends(oauth2_scheme)):
|
|
|
- name, text_content, image_urls = gSlide.parse_slide_url(req.slide_url)
|
|
|
+ name, text_content, image_urls = gSlide.parse_slide_url(req.slide_url,eng=False)
|
|
|
if len(image_urls) != len(text_content):
|
|
|
return {'msg':'副標題數量、圖片(影片)數量以及台詞數量必須一致'}
|
|
|
for idx in range(len(image_urls)):
|