Build a Streamlit app to show GitHub star history trend for a given repository. The app should have the following components: an input field for the GitHub repository name, a button to fetch and display the trend, and a line chart to show the star history trend. Use the GitHub API to fetch the star history data. Display an error message if the repository is invalid or data cannot be fetched.