Jezia commited on
Commit
dd99e8b
·
1 Parent(s): f9f0b73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -25,7 +25,6 @@ def generate_answers(text):
25
  #predictions, _ = model.predict(x)
26
  predictions, _ = model.predict(inputs['input_ids'])
27
  results = np.argmax(predictions, axis=1)
28
- print(results)
29
  answer = tokenizer.decode(results[0].flatten(), skip_special_tokens=True)
30
  return answer
31
 
 
25
  #predictions, _ = model.predict(x)
26
  predictions, _ = model.predict(inputs['input_ids'])
27
  results = np.argmax(predictions, axis=1)
 
28
  answer = tokenizer.decode(results[0].flatten(), skip_special_tokens=True)
29
  return answer
30