simonzhang5429 commited on
Commit
603b3c4
1 Parent(s): 0b8b193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def generate(text):
37
  print("i={},out={}".format(i, splitOutput[i]))
38
  if(i>0 and splitOutput[i].strip()):
39
  theReturn+=splitOutput[i].strip()
40
- print("result={}",theReturn)
41
  return tokenizer.decode(outputs[0])
42
 
43
  gradio_app = gr.Interface(
 
37
  print("i={},out={}".format(i, splitOutput[i]))
38
  if(i>0 and splitOutput[i].strip()):
39
  theReturn+=splitOutput[i].strip()
40
+ print("result={}".format(theReturn))
41
  return tokenizer.decode(outputs[0])
42
 
43
  gradio_app = gr.Interface(