Karan1908/Weather-Type-Classification
0
1'''2Author : Karan Chauhan3github : @Karan-Chauhan194Organization : L.J University5'''6 7 8 9 10 11import http12import streamlit as st13from train import *14from test import *15 16 17# Centering the title using HTML and CSS18 19 20class Main:21 def __init__(self) -> None:22 pass23 24 def run(self):25 26 st.write()27 st.write()28 29 30 t = TestDataPreprocessing()31 t.testing()32 33 34 st.markdown("[GitHub](https://github.com/Karan-Chauhan19/Weather-Type-Classification.git) | <a href='https://www.linkedin.com/in/karan-chauhan-a511a4293' target='_blank'>Linkedin</a>",unsafe_allow_html=True)35 36 37 # Add a LinkedIn profile hyperlink using HTML38 st.markdown("", unsafe_allow_html=True)39 40 41 42 43 # Add copyright notice at the bottom44 st.markdown("<hr>", unsafe_allow_html=True) # Horizontal line to separate content45 st.markdown(46 "<b><p style='text-align: center; font-size: 12px;'>© 2024 Karan Chauhan. All Rights Reserved.</p>", 47 unsafe_allow_html=True48 )49 50 51if __name__ == "__main__":52 53 54 55 st.markdown("<h1 style='text-align: center;'><b>Weather Type classification on Environmental Dataset</b></h1>", unsafe_allow_html=True)56 57 st.markdown("<p ><b> - About this project :</b></p>",unsafe_allow_html=True)58 st.write(' - This project is a simple web application that uses a machine learning model to classify weather type using environmental data.')59 60 st.write(' - The model is trained on a dataset of environmental data and can be used to predict the weather type based on environmental data.')61 62 run_obj = Main()63 run_obj.run()64 65else : 66 print("This is a Streamlit app. Please run it using `streamlit run app.py `") # noqa: E501