gyanbardhan123 commited on
Commit
d56d87b
·
verified ·
1 Parent(s): e1160ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -23
app.py CHANGED
@@ -1,23 +1,23 @@
1
- import streamlit as st
2
-
3
- st.set_page_config(page_title="Gemini_Student", page_icon=":material/edit:")
4
-
5
- st.sidebar.title("Welcome to Gemeni_Student")
6
- selection = st.sidebar.radio("",["Chatbot","Image_QA_Gemini","QA_Gemini","MCQ_Gen","chat_with_pdf"])
7
-
8
- if selection == "Chatbot":
9
- import Chatbot
10
- Chatbot.show()
11
- elif selection == "Image_QA_Gemini":
12
- import Image_QA_Gemini
13
- Image_QA_Gemini.show()
14
- elif selection == "QA_Gemini":
15
- import QA_Gemini
16
- QA_Gemini.show()
17
- elif selection == "MCQ_Gen":
18
- import MCQ_Gen
19
- MCQ_Gen.show()
20
- elif selection == "chat_with_pdf":
21
- import chat_with_pdf
22
- chat_with_pdf.show()
23
-
 
1
+ import streamlit as st
2
+
3
+ st.set_page_config(page_title="Gemini_Student", page_icon=":material/edit:")
4
+
5
+ st.sidebar.title("Welcome to Gemini_Student")
6
+ selection = st.sidebar.radio("",["Chatbot","Image_QA_Gemini","QA_Gemini","MCQ_Gen","chat_with_pdf"])
7
+
8
+ if selection == "Chatbot":
9
+ import Chatbot
10
+ Chatbot.show()
11
+ elif selection == "Image_QA_Gemini":
12
+ import Image_QA_Gemini
13
+ Image_QA_Gemini.show()
14
+ elif selection == "QA_Gemini":
15
+ import QA_Gemini
16
+ QA_Gemini.show()
17
+ elif selection == "MCQ_Gen":
18
+ import MCQ_Gen
19
+ MCQ_Gen.show()
20
+ elif selection == "chat_with_pdf":
21
+ import chat_with_pdf
22
+ chat_with_pdf.show()
23
+