ierhon commited on
Commit
69a271f
1 Parent(s): b18d732

Fix syntax error

Browse files
Files changed (1) hide show
  1. chatbot_constructor.py +1 -1
chatbot_constructor.py CHANGED
@@ -17,7 +17,7 @@ os.mkdir("cache")
17
  class ValueConstraint(Constraint):
18
  def __init__(self, min_value: float = -1, max_value: float = 1):
19
  self.min_value = min_value
20
- self.max_value
21
 
22
  def __call__(self, w):
23
  return K.clip(w, self.min_value, self.max_value)
 
17
  class ValueConstraint(Constraint):
18
  def __init__(self, min_value: float = -1, max_value: float = 1):
19
  self.min_value = min_value
20
+ self.max_value = max_value
21
 
22
  def __call__(self, w):
23
  return K.clip(w, self.min_value, self.max_value)