Spaces:
Sleeping
Sleeping
Download Home.py from Phaneendrabayi/Student_Interactor: direct link, hf CLI and curl.
- Browser
- Download file 941 Bytes
-
https://huggingface.co/spaces/Phaneendrabayi/Student_Interactor/resolve/main/Home.py
- Command line
-
hf download hf://spaces/Phaneendrabayi/Student_Interactor/Home.py
-
curl -L -o Home.py https://huggingface.co/spaces/Phaneendrabayi/Student_Interactor/resolve/main/Home.py
941 Bytes
| 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() |