Spaces:
Sleeping
Sleeping
Fix referenced before assignment error
Browse files
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 = []
|