get_weights()
for a Dense
layer returns a list of two elements, the first element contains the weights, and the second element contains the biases. So you can simply do:
weights = model.layers[0].get_weights()[0]
biases = model.layers[0].get_weights()[1]
Note that weights and biases are already numpy arrays.