Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ Original file is located at
|
|
11 |
import gradio as gr
|
12 |
from transformers import pipeline
|
13 |
|
14 |
-
translation = pipeline("
|
15 |
|
16 |
def translate(text):
|
17 |
result = translation(text)
|
|
|
11 |
import gradio as gr
|
12 |
from transformers import pipeline
|
13 |
|
14 |
+
translation = pipeline("translation", "Shularp/krirk-finetuned-Helsinki-NLP_opus-mt-ar-en")
|
15 |
|
16 |
def translate(text):
|
17 |
result = translation(text)
|