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

extensions.py #6

Open
ripnew opened this issue Feb 18, 2024 · 2 comments
Open

extensions.py #6

ripnew opened this issue Feb 18, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@ripnew
Copy link

ripnew commented Feb 18, 2024

Hi, sorry I am new to text-generation-webui-extensions and I am using one_click.py to install it on windows. All runs good till I try to add your extension, installed thru interface. I am getting error below about missing extensions, please let me know which version I need as if I add it only to requirements.txt and update it will download version which will corrupt my environment

01:42:27-817565 INFO Loading the extension "webui-autonomics"
01:42:27-818565 ERROR Failed to load the extension "webui-autonomics".
Traceback (most recent call last):
File "X:\DIFFUSION\text-generation-webui\text-generation-webui\modules\extensions.py", line 36, in load_extensions
exec(f"import extensions.{name}.script")
File "", line 1
import extensions.webui-autonomics.script
^
SyntaxError: invalid syntax

@dibrale dibrale self-assigned this Feb 19, 2024
@dibrale
Copy link
Owner

dibrale commented Feb 19, 2024

Hello @ripnew,

Thanks for trying out my extension. It's been a bit since I've updated it, so there might be a compatibility issue with the current version of ooba. However, the error looks like it might just be a naming issue. What argument are you using with the --extensions flag when starting server.py?

@dibrale dibrale added the question Further information is requested label Feb 19, 2024
@ripnew
Copy link
Author

ripnew commented Feb 20, 2024 via email

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

No branches or pull requests

2 participants