MohamedUgas commited on
Commit
7c76852
1 Parent(s): 9aca201

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
3
  import torch
 
4
 
5
  model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
6
  tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
 
1
  import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
3
  import torch
4
+ from langs import LANGS
5
 
6
  model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
7
  tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")