Use the provided data set to generate a bar chart in Python.
x-axis values: 1, 2, 3, 4
y-axis values: 10, 12, 7, 5
import matplotlib.pyplot as plt

x_values = [1, 2, 3, 4]
y_values = [10, 12, 7, 5]

plt.bar(x_values, y_values)
plt.title('Bar Chart')
plt.xlabel('X-axis')
plt.ylabel('Y-axis')
plt.show()