-
Notifications
You must be signed in to change notification settings - Fork 3
Description
When I press the "Start Chat" button, I get the error
"During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\katou\miniconda3\envs\RVC-Chat-main\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "D:\ai\RVC-Chat-main\RVC-Chat-main\pages\1_Chat.py", line 101, in
state.character = Character(
File "D:\ai\RVC-Chat-main\RVC-Chat-main\webui\chat.py", line 176, in init
self.model_data = self.load_model(self.model_file)
File "D:\ai\RVC-Chat-main\RVC-Chat-main\webui\chat.py", line 220, in load_model
self.model_data = load_model_data(fname)
File "D:\ai\RVC-Chat-main\RVC-Chat-main\webui\chat.py", line 126, in load_model_data
key = get_hash(model_file)
File "D:\ai\RVC-Chat-main\RVC-Chat-main\lib\model_utils.py", line 10, in get_hash
model_hash = hashlib.md5(open(model_path, 'rb').read()).hexdigest()
TypeError: expected str, bytes or os.PathLike object, not NoneType"