migueldeguzmandev commited on
Commit
730d9d8
·
verified ·
1 Parent(s): 3c0f59c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def generate_response(input_text, temperature):
26
  no_repeat_ngram_size=2,
27
  top_k=50,
28
  top_p=0.95,
29
- do_sample=False, # Set do_sample to True when using temperature
30
  )
31
 
32
  # Decode the generated response
 
26
  no_repeat_ngram_size=2,
27
  top_k=50,
28
  top_p=0.95,
29
+ do_sample=True, # Set do_sample to True when using temperature
30
  )
31
 
32
  # Decode the generated response