Jezia commited on
Commit
cedcd4a
·
1 Parent(s): a0f8996

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def generate_answers(start_prompt):
48
  tokens_generated= []
49
 
50
  text_out = text_process_pipeline(start_prompt)
51
- predictions,_ = mode.predict(text_out)
52
  results = np.argmax(predictions, axis=1)[0]
53
 
54
  while num_tokens_generated <= 40:
 
48
  tokens_generated= []
49
 
50
  text_out = text_process_pipeline(start_prompt)
51
+ predictions,_ = model.predict(text_out)
52
  results = np.argmax(predictions, axis=1)[0]
53
 
54
  while num_tokens_generated <= 40: