Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
pipe = pipeline("translation", model=
|
6 |
|
7 |
|
8 |
def translate(text):
|
|
|
2 |
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
pipe = pipeline("translation", model='facebook/m2m100_418M')
|
6 |
|
7 |
|
8 |
def translate(text):
|