hantech commited on
Commit
e061e40
·
1 Parent(s): 4596340

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ model.load_model("byt5","hantech/byt5_correct3", use_gpu=False)
7
 
8
  def predict(text):
9
  result = model.predict('correct: '+text)
 
10
  return result[0]
11
 
12
  gr.Interface(predict, [gr.Textbox(label="Text")], gr.Textbox()).launch()
 
7
 
8
  def predict(text):
9
  result = model.predict('correct: '+text)
10
+ print(str(result))
11
  return result[0]
12
 
13
  gr.Interface(predict, [gr.Textbox(label="Text")], gr.Textbox()).launch()