Reubencf commited on
Commit
b533aec
·
verified ·
1 Parent(s): 67bccc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ DEF_TOKENS = 256
47
  DEF_TEMPERATURE = 0.7
48
  DEF_TOPK = 50
49
  DEF_TOPP = 0.95
50
- DEF_DURATION = 59
51
 
52
  def get_duration(message, history=[], system_message="", max_tokens=DEF_TOKENS, temperature=DEF_TEMPERATURE, top_k=DEF_TOPK, top_p=DEF_TOPP, duration=DEF_DURATION):
53
  return int(duration if duration is not None else DEF_DURATION)
 
47
  DEF_TEMPERATURE = 0.7
48
  DEF_TOPK = 50
49
  DEF_TOPP = 0.95
50
+ DEF_DURATION = 10
51
 
52
  def get_duration(message, history=[], system_message="", max_tokens=DEF_TOKENS, temperature=DEF_TEMPERATURE, top_k=DEF_TOPK, top_p=DEF_TOPP, duration=DEF_DURATION):
53
  return int(duration if duration is not None else DEF_DURATION)