kz209 commited on
Commit
05479ce
1 Parent(s): 66b910c
Files changed (1) hide show
  1. pages/summarization_playground.py +1 -1
pages/summarization_playground.py CHANGED
@@ -58,7 +58,7 @@ def generate_answer(sources, model_name, prompt):
58
 
59
  content = [prompt + '\n{' + sources + '}\n\nsummary:']
60
 
61
- answer = model[model_name].gen(content)
62
 
63
  return answer
64
 
 
58
 
59
  content = [prompt + '\n{' + sources + '}\n\nsummary:']
60
 
61
+ answer = model[model_name].gen(content, streaming=False)
62
 
63
  return answer
64