Skip to content

Please tell me how to fix the error  #8

Description

@onion3108

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions