ierhon commited on
Commit
f72cb30
1 Parent(s): 7b5b35f

Fix referenced before assignment error

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -50,6 +50,7 @@ def train(data: str, message: str):
50
  dense4_layer = Dense(100, activation="tanh")(dense3_layer)
51
  concat2_layer = Concatenate()([dense4_layer, prelu1_layer, attn_flatten_layer, conv1_flatten_layer])
52
  dense4_layer = Dense(resps_len, activation="softmax")(concat2_layer)
 
53
 
54
  X = []
55
  y = []
 
50
  dense4_layer = Dense(100, activation="tanh")(dense3_layer)
51
  concat2_layer = Concatenate()([dense4_layer, prelu1_layer, attn_flatten_layer, conv1_flatten_layer])
52
  dense4_layer = Dense(resps_len, activation="softmax")(concat2_layer)
53
+ model = Model(inputs=input_layer, outputs=dense4_layer)
54
 
55
  X = []
56
  y = []