seyoungsong
commited on
Commit
•
4ec5914
1
Parent(s):
e723e47
app.py
CHANGED
@@ -1,12 +1,7 @@
|
|
1 |
from pathlib import Path
|
2 |
|
3 |
import gradio as gr
|
4 |
-
from transformers import
|
5 |
-
M2M100ForConditionalGeneration,
|
6 |
-
M2M100Tokenizer,
|
7 |
-
TranslationPipeline,
|
8 |
-
pipeline,
|
9 |
-
)
|
10 |
|
11 |
lang_to_code = {
|
12 |
"Akrikaans": "af",
|
|
|
1 |
from pathlib import Path
|
2 |
|
3 |
import gradio as gr
|
4 |
+
from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
lang_to_code = {
|
7 |
"Akrikaans": "af",
|