Patt commited on
Commit
2631d75
·
1 Parent(s): 76eec44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(model="Shularp/krirk-finetuned-Helsinki-NLP_opus-mt-ar-en")
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)