Browse Source

traduction de tout les paragraphes

main
Alex 2 weeks ago
parent
commit
17e0422fdf
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      main.py

+ 0
- 1
main.py View File

@@ -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)

Loading…
Cancel
Save