fvwjtemlfmyztvgzla commited on
Commit
6254ce6
1 Parent(s): 44f9786

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,5 +14,5 @@ def fn(text, lang):
14
  generated_tokens = model.generate(**encoded_zh)
15
  return tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
16
 
17
- demo = gr.Interface(fn=fn, inputs="text", outputs=["text", "text"])
18
  demo.launch()
 
14
  generated_tokens = model.generate(**encoded_zh)
15
  return tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
16
 
17
+ demo = gr.Interface(fn=fn, inputs=["text", "text"], outputs="text")
18
  demo.launch()