traduction de tout les paragraphes
This commit is contained in:
1 parent
9a0935c6e6
commit
17e0422fdf
1 file changed
-1
@@ -265,7 +265,6 @@ def main():
|
||||
|
||||
# Traitement des paragraphes complets
|
||||
for i, paragraph_text in enumerate(paragraphs, start=1):
|
||||
if( i > 8 ): break
|
||||
print(f"{15 * '-'} Traduction du paragraphe {i}/{len(paragraphs)}...")
|
||||
try:
|
||||
result = send_to_ollama(paragraph_text, target_lang=TARGET_LANGUAGE)
|
||||
|
||||
Reference in new issue
Block a user