Create temp_uploaded_filed_Dir/

#7
by MHayden - opened

FileNotFoundError: [Errno 2] No such file or directory: 'temp_uploaded_filed_Dir/Test_model_card.md'
Traceback:
File "/home/user/.local/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
exec(code, module.dict)
File "/home/user/app/1_๐Ÿ“_form.py", line 302, in
st.session_state.runpage()
File "/home/user/app/1_๐Ÿ“_form.py", line 235, in main_page
name_of_uploaded_file = save_uploadedfile(uploaded_file)
File "/home/user/app/1_๐Ÿ“_form.py", line 94, in save_uploadedfile
with open(os.path.join("temp_uploaded_filed_Dir",uploadedfile.name),"wb") as f:

Getting above error when trying to upload .md file

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment