When i run my app locally,there is no problem.But When i run it with my github,this error take place!Please help me!
/mount/src/course_selecting-system/src/Course_Selecting_app.py:12 in
❱ 12 with open(“data/student.jsonl”, “r”) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘data/student.jsonl’
github:GitHub - yinzhoux/Course_selecting-system at GUI-version
cloud:https://yinzhouxcourseselectingsys.streamlit.app/
Thanks!
Have you tried another path ?
Try from where you repo is : ./src/data/student.jsonl or maybe before like /mount/src/course_selecting-system/src/data/student.jsonl.
If it’s working perfeclty in localy, it’s an path error for sure ! 
I think you could try a solution similar to this one, should work locally and in streamlit cloud by grabbing the absolute path:
import os
base = os.path.dirname(os.path.abspath(__file__))
file = os.path.join(base, "data/student.jsonl")
with open(file, "r") as f:
Hope it helps. Cheers.
Thank you very much! it works!
I appreciate you for your help 
Thank you for your help! I solved the problem in anothor way!
And I will try what you said!
Thanks again! 