Spaces:
Running
Running
raymondEDS
commited on
Commit
·
cb4004b
1
Parent(s):
88ff3a0
adding rui xi
Browse files- app/components/login.py +2 -2
- app/main.py +1 -1
- app/pages/__pycache__/week_2.cpython-311.pyc +0 -0
- app/pages/week_4.py +7 -15
app/components/login.py
CHANGED
@@ -7,8 +7,8 @@ def login():
|
|
7 |
st.title("Login to Data Science Course App")
|
8 |
|
9 |
#usernames
|
10 |
-
usernames = ["admin", "student", "manxiii","zhu","WK"]
|
11 |
-
passwords = ["admin", "123", "manxi123","zhu123","WK123"]
|
12 |
|
13 |
# Create a form for login
|
14 |
with st.form("login_form"):
|
|
|
7 |
st.title("Login to Data Science Course App")
|
8 |
|
9 |
#usernames
|
10 |
+
usernames = ["admin", "student", "manxiii","zhu","WK","ruixi"]
|
11 |
+
passwords = ["admin", "123", "manxi123","zhu123","WK123","ruixi123"]
|
12 |
|
13 |
# Create a form for login
|
14 |
with st.form("login_form"):
|
app/main.py
CHANGED
@@ -131,7 +131,7 @@ def sidebar_navigation():
|
|
131 |
|
132 |
def show_week_content():
|
133 |
# Debug print to show current week
|
134 |
-
st.write(f"Debug: Current week is {st.session_state.current_week}")
|
135 |
|
136 |
if st.session_state.current_week == 1:
|
137 |
week_1.show()
|
|
|
131 |
|
132 |
def show_week_content():
|
133 |
# Debug print to show current week
|
134 |
+
#st.write(f"Debug: Current week is {st.session_state.current_week}")
|
135 |
|
136 |
if st.session_state.current_week == 1:
|
137 |
week_1.show()
|
app/pages/__pycache__/week_2.cpython-311.pyc
CHANGED
Binary files a/app/pages/__pycache__/week_2.cpython-311.pyc and b/app/pages/__pycache__/week_2.cpython-311.pyc differ
|
|
app/pages/week_4.py
CHANGED
@@ -221,34 +221,26 @@ def show():
|
|
221 |
|
222 |
if username == "manxiii":
|
223 |
st.markdown("""
|
224 |
-
Hello **manxiii**, here is your Assignment
|
225 |
1. Finish looking for 3 more research papers and add them to your literate review
|
226 |
2. Finish literate review for the 2 papers you have already summerized
|
227 |
3. Add the plots from the previous week to the dataset section and add a description
|
228 |
4. link to your paper here: https://www.overleaf.com/project/68228f4ccb9d18d92c26ba13
|
229 |
|
230 |
-
**Due Date:** End of Week
|
231 |
""")
|
232 |
elif username == "zhu":
|
233 |
st.markdown("""
|
234 |
-
Hello **zhu**, here is your Assignment
|
235 |
""")
|
236 |
elif username == "WK":
|
237 |
st.markdown("""
|
238 |
-
Hello **WK**, here is your Assignment
|
239 |
-
1. Import the dataset that you studied last week: https://huggingface.co/datasets/Yusuf5/OpenCaselist/tree/main
|
240 |
-
2. Create a new notebook and load the dataset
|
241 |
-
3. Explore the dataset by answering the following questions (submit answers in this [Colab Notebook](https://colab.research.google.com/drive/1LP3R3MrQJ2Mz8ZjPhxgTp9IZAlBE0e1d#scrollTo=e78EtnbQCDKV)):
|
242 |
-
- How many rows and columns are there in the dataset?
|
243 |
-
- What are the variables in the dataset?
|
244 |
-
- What is the data type of each variable?
|
245 |
-
- What is the range of each variable?
|
246 |
-
- What is the mean of each variable?
|
247 |
-
4. Think about what research question you want to answer with this dataset.
|
248 |
|
249 |
-
|
|
|
250 |
""")
|
251 |
else:
|
252 |
st.markdown(f"""
|
253 |
-
Hello **{username}**, here is your Assignment
|
254 |
""")
|
|
|
221 |
|
222 |
if username == "manxiii":
|
223 |
st.markdown("""
|
224 |
+
Hello **manxiii**, here is your Assignment 4: Python Basics.
|
225 |
1. Finish looking for 3 more research papers and add them to your literate review
|
226 |
2. Finish literate review for the 2 papers you have already summerized
|
227 |
3. Add the plots from the previous week to the dataset section and add a description
|
228 |
4. link to your paper here: https://www.overleaf.com/project/68228f4ccb9d18d92c26ba13
|
229 |
|
230 |
+
**Due Date:** End of Week 4
|
231 |
""")
|
232 |
elif username == "zhu":
|
233 |
st.markdown("""
|
234 |
+
Hello **zhu**, here is your Assignment 4: NLP Basics.
|
235 |
""")
|
236 |
elif username == "WK":
|
237 |
st.markdown("""
|
238 |
+
Hello **WK**, here is your Assignment 4: NLP Basics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
|
240 |
+
|
241 |
+
**Due Date:** End of Week 4
|
242 |
""")
|
243 |
else:
|
244 |
st.markdown(f"""
|
245 |
+
Hello **{username}**, here is your Assignment 4: Python Basics. is not yet released. Please message instructor
|
246 |
""")
|