nllb / app.py

Commit History

use sentence splitters from stopes
3740b63

cointegrated commited on

add punctuation normalization and load the tokenizer only once
2a62da0

cointegrated commited on

adjust the generation parameters to avoid repetitions
d0ffdbf

cointegrated commited on

raise errors when the source or target language is not chosen
5c565ab

cointegrated commited on

add and cache examples (#10)
6634f63
verified

davanstrien HF staff commited on

Update app.py
61e0458
verified

DavidUNESCO commited on

add banner to demo (#9)
e73c7fc
verified

davanstrien HF staff commited on

add disclaimer text (#7)
29ba4e2
verified

davanstrien HF staff commited on

fixes for nltk and transformers updates (#6)
aac03a6
verified

davanstrien HF staff commited on

Update app.py
86d577a
verified

osanseviero commited on

Remove low quality languages from target languages (#5)
74a629f
verified

davanstrien HF staff commited on

add meta copy changes (#2)
be7ccc0
verified

davanstrien HF staff commited on

Add copy suggestions (#1)
a47c01b
verified

davanstrien HF staff commited on

Refactor translation function to support paragraph translation
e72a9c0

davanstrien HF staff commited on

Add nltk dependency and update translate function to handle multiple sentences
5e1003d

davanstrien HF staff commited on

Refactor code to improve performance and readability
3f23d73

davanstrien HF staff commited on

Update MODEL_NAME in app.py
6bcde50

davanstrien HF staff commited on

use src lang
5cb6981

davanstrien HF staff commited on

sliding window
71ae380

davanstrien HF staff commited on

Add import for regular expressions
620b306

davanstrien HF staff commited on

Refactored text chunk splitting logic in translate function
eeaa3ab

davanstrien HF staff commited on

Update instructions in translation demo
0badc10

davanstrien HF staff commited on

Add translation instructions to the demo
bd312ad

davanstrien HF staff commited on

Update app.py with demo application description
7dc20b3

davanstrien HF staff commited on

Update MODEL_NAME and description in app.py
1473813

davanstrien HF staff commited on

Fix newline formatting in translate function
126fd42

davanstrien HF staff commited on

Refactor translation logic to handle long chunks
e906778

davanstrien HF staff commited on

Refactor translate function to split input text into smaller chunks
15ccfd9

davanstrien HF staff commited on

Create app.py
38742d7
verified

davanstrien HF staff commited on