(self)
| 21 | ) |
| 22 | |
| 23 | def input(self): |
| 24 | st.sidebar.title("Weather Options") |
| 25 | self.weather_option = st.sidebar.radio( |
| 26 | "Choose Weather Option", |
| 27 | options=["Today's Weather", "Forecast Weather"], |
| 28 | key="weather_option", |
| 29 | ) |
| 30 | |
| 31 | if self.weather_option == "Today's Weather": |
| 32 | self.display_today_weather() |
| 33 | else: |
| 34 | self.display_forecast_weather() |
| 35 | |
| 36 | def display_today_weather(self): |
| 37 | latitude, longitude = None, None |
no test coverage detected