You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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" aaa.pdf
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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"
aaa.pdf
Beta Was this translation helpful? Give feedback.
All reactions