mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 12:53:07 +00:00
Error fix
This commit is contained in:
parent
7d4f9817a6
commit
a8724b51d7
2
app.py
2
app.py
@ -1393,7 +1393,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
|||||||
gc.collect()
|
gc.collect()
|
||||||
ASCIIColors.info(f"issuing command : python gptqlora.py --model_path {self.lollms_paths.personal_models_path/fn/data['model_name']}")
|
ASCIIColors.info(f"issuing command : python gptqlora.py --model_path {self.lollms_paths.personal_models_path/fn/data['model_name']}")
|
||||||
subprocess.run(["python", "gptqlora.py", "--model_path", self.lollms_paths.personal_models_path/fn/data["model_name"]],cwd=self.lollms_paths.gptqlora_path)
|
subprocess.run(["python", "gptqlora.py", "--model_path", self.lollms_paths.personal_models_path/fn/data["model_name"]],cwd=self.lollms_paths.gptqlora_path)
|
||||||
return jsonify({'status':true})
|
return jsonify({'status':True})
|
||||||
|
|
||||||
def get_lollms_version(self):
|
def get_lollms_version(self):
|
||||||
version = pkg_resources.get_distribution('lollms').version
|
version = pkg_resources.get_distribution('lollms').version
|
||||||
|
Loading…
Reference in New Issue
Block a user