-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi I'm having some difficulties running this extension. I have my files correctly set up for the models I think so I'm not sure what I'm missing.
The only thing I've seen it could be is that the files use dashes instead of underscores. but I don't really know if that's the issue. here's what my config.json looks like. Do I have the wrong phiVision file?
"image_history_dir": "C:\text-generation-webui-main\extensions\Lucid_Vision\Image_History",
"cuda_visible_devices": 1,
"default_vision_model": "phiVison",
"phiVision_model_id": "C:\text-generation-webui-main\user_data\models\microsoft_Phi-3.5-vision-instruct",
I'm sorry I don't really know how the coding stuff works. This is what I get on cmd, when I try and apply the extension through the interface.
19:32:38-920209 INFO Loading the extension "Lucid_Vision"
19:32:43-737230 ERROR Failed to load the extension "Lucid_Vision".
Traceback (most recent call last):
File "C:\text-generation-webui-main\modules\extensions.py", line 37, in load_extensions
extension = importlib.import_module(f"extensions.{name}.script")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\text-generation-webui-main\installer_files\env\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\text-generation-webui-main\extensions\Lucid_Vision\script.py", line 30, in <module>
config = load_config()
^^^^^^^^^^^^^
File "C:\text-generation-webui-main\extensions\Lucid_Vision\script.py", line 25, in load_config
config = json.load(config_file)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\text-generation-webui-main\installer_files\env\Lib\json\__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "C:\text-generation-webui-main\installer_files\env\Lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\text-generation-webui-main\installer_files\env\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\text-generation-webui-main\installer_files\env\Lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Invalid \escape: line 2 column 56 (char 57)
Hope you can help me with this.
Metadata
Metadata
Assignees
Labels
No labels