ViperX7 / Alpaca-Turbo

Web UI to run alpaca model locally
GNU Affero General Public License v3.0
876 stars 92 forks source link

Loading models issue? #71

Open SauerCarey opened 1 year ago

SauerCarey commented 1 year ago

I'm not really sure what is going on here. the interface opens up fine, I have the models in the folder, I go to the settings and they appear, i go back to chat and select one, and it tries to open...

Loading model please wait...

and the CLI shows the following...

'NoneType' object has no attribute 'path' Exception in thread Thread-43 (): Traceback (most recent call last): File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\alpaca_turbo.py", line 188, in load_model self.process = Process(self.command, timeout=10000) File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\alpaca_turbo.py", line 177, in command f"{self.model.path}", AttributeError: 'NoneType' object has no attribute 'path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\carey\pyver\py3_10_9\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "C:\Users\carey\pyver\py3_10_9\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\utils\model_selector.py", line 91, in assistant.load_model(), File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\alpaca_turbo.py", line 210, in load_model return f"Failed loading {self.model.path}" AttributeError: 'NoneType' object has no attribute 'path'