Files changed (1) hide show
  1. app.py +22 -42
app.py CHANGED
@@ -1,42 +1,22 @@
1
- import streamlit as st
2
-
3
- # Set the page title and icon
4
- st.set_page_config(page_title="Your AI Hub", page_icon=":robot_face:")
5
-
6
- # Sidebar title and radio button selection
7
- st.sidebar.title("Welcome to Your AI Hub!")
8
- st.sidebar.markdown("Your gateway to powerful AI tools. Choose a module to get started:")
9
-
10
- # Radio button for tool selection with updated options
11
- selection = st.sidebar.radio(
12
- "",
13
- [
14
- "Virtual Assistant :bust_in_silhouette:",
15
- "Image Analyst :framed_picture:",
16
- "Knowledge Navigator :books:",
17
- "Quiz Master :game_die:",
18
- "Document Guru :page_facing_up:"
19
- ]
20
- )
21
-
22
- # Import and display the selected module
23
- if selection == "Virtual Assistant :bust_in_silhouette:":
24
- st.sidebar.markdown("**Your Personal AI Companion** is here to assist you.")
25
- import VirtualAssistant
26
- VirtualAssistant.show()
27
- elif selection == "Image Analyst :framed_picture:":
28
- st.sidebar.markdown("**Analyze Images** with precision using AI.")
29
- import ImageAnalyst
30
- ImageAnalyst.show()
31
- elif selection == "Knowledge Navigator :books:":
32
- st.sidebar.markdown("**Explore Knowledge** and get instant answers.")
33
- import AskMe
34
- AskMe.show()
35
- elif selection == "Quiz Master :game_die:":
36
- st.sidebar.markdown("**Test Your Knowledge** with interactive quizzes.")
37
- import QuizMaster
38
- QuizMaster.show()
39
- elif selection == "Document Guru :page_facing_up:":
40
- st.sidebar.markdown("**Master Your Documents** with smart PDF tools.")
41
- import DocumentGuru
42
- DocumentGuru.show()
 
1
+ mport streamlit as st
2
+
3
+ st.set_page_config(page_title="Assistant", page_icon=":material/edit:")
4
+
5
+ st.sidebar.title("Your Assistant ready at your Service!")
6
+ selection = st.sidebar.radio("",["Personal_Assistant","Image_QA","AskMe","MCQ_Assistant","PDF_Assistant"])
7
+
8
+ if selection == "Personal_Assistant":
9
+ import VirtualAssistant
10
+ VirtualAssistant.show()
11
+ elif selection == "Image_QA":
12
+ import ImageAnalyst
13
+ ImageAnalyst.show()
14
+ elif selection == "AskMe":
15
+ import AskMe
16
+ AskMe.show()
17
+ elif selection == "MCQ_Assistant":
18
+ import QuizMaster
19
+ QuizMaster.show()
20
+ elif selection == "PDF_Assistant":
21
+ import DocumentGuru
22
+ DocumentGuru.show()