Kari commited on
Commit
9273b36
·
1 Parent(s): bf922dc

update the app.py which uses the plus model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ import os
22
  # interface = gr.Interface(fn=en2zh, inputs="list", outputs="list")
23
  # interface.launch()
24
 
25
- translator = pipeline("translation", model=os.path.join(os.getcwd(),"test-ml-trained"), max_time=5)
26
  # text-text
27
  def en2zh(text):
28
  pres=[]
 
22
  # interface = gr.Interface(fn=en2zh, inputs="list", outputs="list")
23
  # interface.launch()
24
 
25
+ translator = pipeline("translation", model=os.path.join(os.getcwd(),"test-ml-trained+"), max_time=5)
26
  # text-text
27
  def en2zh(text):
28
  pres=[]