MohammedAlakhras commited on
Commit
ad6ed58
·
verified ·
1 Parent(s): 107e5b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -33,6 +33,7 @@ def answer_question(
33
  top_p=top_p,
34
  top_k=top_k,
35
  num_beams=num_beams,
 
36
  **kwargs,
37
  )
38
  with torch.no_grad():
 
33
  top_p=top_p,
34
  top_k=top_k,
35
  num_beams=num_beams,
36
+ do_sample=do_sample
37
  **kwargs,
38
  )
39
  with torch.no_grad():