[update] random seed
parent
8f3169dba2
commit
5e9d15614e
|
|
@ -67,7 +67,6 @@ def main():
|
|||
prompt_iter = prompts if input_mode == 0 else iter(lambda: input('💬: '), '')
|
||||
for prompt in prompt_iter:
|
||||
setup_seed(random.randint(0, 31415926))
|
||||
setup_seed(42)
|
||||
if input_mode == 0: print(f'💬: {prompt}')
|
||||
conversation = conversation[-args.historys:] if args.historys else []
|
||||
conversation.append({"role": "user", "content": prompt})
|
||||
|
|
|
|||
Loading…
Reference in New Issue