Stacking layers example Flux - Flux.params empty

My intention is to create the models through lists with strings

if layer_types[1] == "dense"
   layers = [Dense(size(data[1], 2), no_neurons[1], list_activations[1])]
else layer_types[1] == "lstm"
   layers = [LSTM(size(data[1], 2), no_neurons[1])]
end

for i in 2:length(layer_types)
    if layer_types[i] == "dense"
        push!(layers, Dense(no_neurons[i-1], no_neurons[i], list_activations[i]))
    else layer_types[i] == "lstm"
        push!(layers, LSTM(no_neurons[i-1], no_neurons[i]))
    end
end

model = Chain(layers)

So that i.e. you can train several different models in one execution and so that non-programmers also can set up a training i.e with excel file.