Spaces:
Runtime error
Runtime error
MohamedUgas
commited on
Commit
•
f784681
1
Parent(s):
cad4b8f
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
3 |
import torch
|
4 |
from ui import title, description, examples
|
5 |
-
from langs import LANGS
|
6 |
|
7 |
model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
|
8 |
tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
|
|
|
2 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
3 |
import torch
|
4 |
from ui import title, description, examples
|
5 |
+
#from langs import LANGS
|
6 |
|
7 |
model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
|
8 |
tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
|