Spaces:
Running
Running
Update app.py
Browse files
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
|
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 |
+
|