Iosif24 commited on
Commit
0436755
·
1 Parent(s): c776a71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -6,4 +6,6 @@ opus_translator = pipeline("translation", model=model_name)
6
  def translate(text):
7
  response = opus_translator(text)
8
  return response
9
- grad.Interface("translate", inputs=["text",], outputs="text").launch()
 
 
 
6
  def translate(text):
7
  response = opus_translator(text)
8
  return response
9
+ grad.Interface("translate", inputs=["text",], outputs="text").launch()
10
+
11
+ #Please make sure you have `sentencepiece` installed in order to use this tokenizer.