reach-vb HF Staff commited on
Commit
33ca351
·
1 Parent(s): 4fd43d9

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -34,7 +34,7 @@ pipeline = transformers.pipeline
34
  pipe = await pipeline('translation', 'Xenova/nllb-200-distilled-600M')
35
 
36
  async def generate(text):
37
- return await pipe(text, { "src_lang": 'eng_Latn', "tgt_lang": 'fra_Latn'})
38
 
39
  demo = gr.Interface(
40
  generate,
 
34
  pipe = await pipeline('translation', 'Xenova/nllb-200-distilled-600M')
35
 
36
  async def generate(text):
37
+ return await pipe(text, {"src_lang": "eng_Latn", "tgt_lang": "fra_Latn",})
38
 
39
  demo = gr.Interface(
40
  generate,