Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'chat' from 'modules' #2

Open
jellederijke opened this issue May 11, 2023 · 1 comment
Open

cannot import name 'chat' from 'modules' #2

jellederijke opened this issue May 11, 2023 · 1 comment

Comments

@jellederijke
Copy link

Where did you get the modules? I am on a Windows setup.

I don't understand how this part works:
from modules import shared as shared from modules import chat as chat from modules.extensions import apply_extensions from modules.text_generation import encode, get_max_prompt_length from modules.text_generation import (encode, generate_reply, stop_everything_event)

@ChobPT
Copy link
Owner

ChobPT commented May 24, 2023

the modules are the ones on the webui folder, it should just load them no problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants