Merge branch 'main' of https://huggingface.co/spaces/SPJIMR-Internship/SPJIMR_FlipClassroom_RCopilot_ResearchInternship
Browse files- app.py +4 -2
- session_page_alt.py +0 -0
app.py
CHANGED
@@ -3,7 +3,8 @@ import streamlit as st
|
|
3 |
from datetime import datetime, date, time, timedelta
|
4 |
from pathlib import Path
|
5 |
from utils.sample_data import SAMPLE_COURSES, SAMPLE_SESSIONS
|
6 |
-
from
|
|
|
7 |
from db import (
|
8 |
courses_collection2,
|
9 |
faculty_collection,
|
@@ -1413,7 +1414,8 @@ def main():
|
|
1413 |
login_tab, register_tab = st.tabs(["Login", "Register"])
|
1414 |
|
1415 |
with register_tab:
|
1416 |
-
register_page()
|
|
|
1417 |
with login_tab:
|
1418 |
login_form()
|
1419 |
else:
|
|
|
3 |
from datetime import datetime, date, time, timedelta
|
4 |
from pathlib import Path
|
5 |
from utils.sample_data import SAMPLE_COURSES, SAMPLE_SESSIONS
|
6 |
+
from session_page_alt import display_session_content
|
7 |
+
# from session_page import display_session_content
|
8 |
from db import (
|
9 |
courses_collection2,
|
10 |
faculty_collection,
|
|
|
1414 |
login_tab, register_tab = st.tabs(["Login", "Register"])
|
1415 |
|
1416 |
with register_tab:
|
1417 |
+
# register_page()
|
1418 |
+
st.info("Registrations are closed.")
|
1419 |
with login_tab:
|
1420 |
login_form()
|
1421 |
else:
|
session_page_alt.py
ADDED
The diff for this file is too large to render.
See raw diff
|
|