import streamlit as st from streamlit_option_menu import option_menu import ATS ,chatbot ,PDF,resume st.set_page_config(page_title='Student Interactor') class MultiApp: def __init__(self): self.apps =[] def add_app(self,title, function): self.apps.append({ "title": title, "function" : function }) def run(): with st.sidebar: app = option_menu( menu_title= "Student Interactor using Generative ai", options = ['Chatbot','ATS','PDF','Resume'], menu_icon = 'chat-text-fill', default_index = 1, ) if app == 'Chatbot': chatbot.app() if app == 'ATS': ATS.app() if app == 'PDF': PDF.app() if app == 'Resume': resume.app() if __name__ == "__main__": run()