vpcom commited on
Commit
81301d6
·
1 Parent(s): 539297a

fix: comment out the seed as it seems the model doesn't support it at the moment, later will try to investigate more

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,9 +49,9 @@ def generate(
49
  repetition_penalty=repetition_penalty,
50
  stop_sequences=STOP_SEQUENCES,
51
  do_sample=True,
52
- seed=seed,
53
  )
54
- seed = seed + 1
55
  formatted_prompt = format_prompt(prompt, history, system_prompt)
56
 
57
  stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=False, details=True, return_full_text=False)
 
49
  repetition_penalty=repetition_penalty,
50
  stop_sequences=STOP_SEQUENCES,
51
  do_sample=True,
52
+ #seed=seed,
53
  )
54
+ #seed = seed + 1
55
  formatted_prompt = format_prompt(prompt, history, system_prompt)
56
 
57
  stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=False, details=True, return_full_text=False)