chenjoya commited on
Commit
1a4879a
·
verified ·
1 Parent(s): 9a66726

Update demo/infer.py

Browse files
Files changed (1) hide show
  1. demo/infer.py +1 -1
demo/infer.py CHANGED
@@ -175,7 +175,7 @@ class LiveCCDemoInfer:
175
  message: str,
176
  history: list,
177
  state: dict,
178
- do_sample: bool = False,
179
  repetition_penalty: float = 1.05,
180
  hf_spaces: bool = False,
181
  **kwargs,
 
175
  message: str,
176
  history: list,
177
  state: dict,
178
+ do_sample: bool = True,
179
  repetition_penalty: float = 1.05,
180
  hf_spaces: bool = False,
181
  **kwargs,