mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Bump size of language content
This commit is contained in:
parent
909bb2be7f
commit
fb87b3347b
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ def rank_videos(db, n, pool, filter)
|
||||||
else
|
else
|
||||||
description = XML.parse(video.description)
|
description = XML.parse(video.description)
|
||||||
content = [video.title, description.content].join(" ")
|
content = [video.title, description.content].join(" ")
|
||||||
content = content[0,1000]
|
content = content[0,10000]
|
||||||
|
|
||||||
results = DetectLanguage.detect(content)
|
results = DetectLanguage.detect(content)
|
||||||
language = results[0].language
|
language = results[0].language
|
||||||
|
|
Loading…
Reference in a new issue