ausboss / Local-LLM-Langchain

Load local LLMs effortlessly in a Jupyter notebook for testing purposes alongside Langchain or other agents. Contains Oobagooga and KoboldAI versions of the langchain notebooks with examples.
211 stars 26 forks source link

fix: json module not loaded #1

Closed DeadBranches closed 1 year ago

DeadBranches commented 1 year ago

Fixes NameError: name 'json' is not defined when running main.py

CUDA SETUP: Loading binary F:\oobabooga-windows\installer_files\env\lib\site-packages\bitsandbytes\libbitsandbytes_cuda117.dll... Loading settings from settings.json... Traceback (most recent call last): File "F:\oobabooga-windows\text-generation-webui\main.py", line 26, in new_settings = json.loads(open(settings_file, 'r').read()) NameError: name 'json' is not defined Press any key to continue . . .