Update app.py
Browse files
app.py
CHANGED
@@ -222,6 +222,15 @@ import time # To simulate delays during processing
|
|
222 |
|
223 |
def page_1():
|
224 |
st.markdown('<div class="title">ADMIN</div>', unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
uploaded_file = st.file_uploader("Upload a PDF file", type=["pdf"])
|
227 |
if uploaded_file:
|
@@ -250,7 +259,14 @@ def page_1():
|
|
250 |
st.error(f"Error processing PDF: {e}")
|
251 |
|
252 |
def page_2():
|
253 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
|
255 |
if "image_collection" in st.session_state and "text_collection" in st.session_state and "video_collection" in st.session_state:
|
256 |
image_collection = st.session_state.image_collection
|
|
|
222 |
|
223 |
def page_1():
|
224 |
st.markdown('<div class="title">ADMIN</div>', unsafe_allow_html=True)
|
225 |
+
st.header("Welcome")
|
226 |
+
#st.set_page_config(layout='wide', page_title="Virtual Tutor")
|
227 |
+
st.markdown("""
|
228 |
+
<svg width="600" height="100">
|
229 |
+
<text x="50%" y="50%" font-family="San serif" font-size="42px" fill="Black" text-anchor="middle" stroke="white"
|
230 |
+
stroke-width="0.3" stroke-linejoin="round">ADMIN - UPLOAD
|
231 |
+
</text>
|
232 |
+
</svg>
|
233 |
+
""", unsafe_allow_html=True)
|
234 |
|
235 |
uploaded_file = st.file_uploader("Upload a PDF file", type=["pdf"])
|
236 |
if uploaded_file:
|
|
|
259 |
st.error(f"Error processing PDF: {e}")
|
260 |
|
261 |
def page_2():
|
262 |
+
|
263 |
+
st.markdown("""
|
264 |
+
<svg width="600" height="100">
|
265 |
+
<text x="50%" y="50%" font-family="San serif" font-size="42px" fill="Black" text-anchor="middle" stroke="white"
|
266 |
+
stroke-width="0.3" stroke-linejoin="round">Poss Assistant
|
267 |
+
</text>
|
268 |
+
</svg>
|
269 |
+
""", unsafe_allow_html=True)
|
270 |
|
271 |
if "image_collection" in st.session_state and "text_collection" in st.session_state and "video_collection" in st.session_state:
|
272 |
image_collection = st.session_state.image_collection
|