Spaces:
Sleeping
Sleeping
File size: 941 Bytes
6547fc2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 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() |