I deployed the entire thing but when I tried to upload the file it gave me the following error
TypeError: expected str, bytes or os.PathLike object, not NoneType
File "/Users/x/summary-test/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/Users/x/summary-test/app.py", line 25, in
save_path = Path(save_folder, File.name)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py", line 1072, in new
self = cls._from_parts(args, init=False)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py", line 697, in _from_parts
drv, root, parts = self._parse_args(args)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py", line 681, in _parse_args
a = os.fspath(a)